I have php form which has numerous check boxes. I need to store all the selected check boxes in an array and then use them from my controller. So far, in my controller I have
$data['categories']= array($this->input->post('category'))
where my check boxes are called "category". however this method is only storing a single check box value, even when numerous check boxes are selected.
I then intend to pass this array to a model for processing.
Thank you for the help, I appreciate any suggestions.