Stig1 / PHP-Validator-Class

Simple variable validation.
7 stars 4 forks source link

not working on multidimensional post request #1

Open nucab opened 11 years ago

nucab commented 11 years ago

I tried to validate the variables inside a post request which has multidimensional array and as i check current implementation of the class i think it only works for one-dimensional array.

Stig1 commented 10 years ago

You Sir, are correct. The current version doesn't handle multidimensional arrays. It would be easy to implement if all values of the nested array use the same rules, if not you need to do some manual work and several Validator instances.