Problem with validation passing an array into POST |
[eluser]Isos[/eluser]
Hi all. I am getting the following PHP error: A PHP Error was encountered Severity: Notice Message: Array to string conversion Filename: libraries/Validation.php Line Number: 195 in the top of my page which contains form with checkboxes having name="check[0][0]" , name="check[0][1]", name="check[0][3]" ... When I define rules, they are as following: Code: $rules['check'][0][0]= "required"; I am using an extended library of Validation (MY_Validation.php) suggested tonanbarbarian here: http://ellislab.com/forums/viewthread/48535/#327544 whether I would use native set_rules or the function set_rules_fields($rules,'check') of the extended library I still get this error! It's on the 195th line of Validation.php Code: $ex = explode('|', $rules); Code: function run() |
Welcome Guest, Not a member yet? Register Sign In |