I am building an HTML form with a set of checkboxes for selecting multiple categories using this format:
<input type="checkbox" name="category[]" />
So, when I post and print_r($_POST) to view the variable and values I get:
Array
(
[27] => on
[28] => on
[29] => on
)
Once I run $this->form_validation->run(); the categories array becomes "Array" as a string. I believe I have narrowed it down to "prep_for_form" function in the system/libraries/Form_validation.php file, but it seems like the recursive function is working correctly.
Thank you in advance.