View Full Version : multi checkboxes

07-21-2011, 06:53 AM
hi guys just want to know how to deal with multi checkboxes and insrting into the database

i have got to the point of getting my multi checkboxes into arrays with the implode function but storing them im having quite a lot of troubble
how do i do it do you know?
thank you

07-26-2011, 12:14 PM
Your checkbox values will be stored in an array when you post the form

The array is called....


07-26-2011, 01:05 PM
yeah i go the arrays imploded but when i try to echo that value in a hidden field for instance and then input into the database it just doesnt insert a value.
and its a huge probs really lol.
pretty tough little thing to figure.
i surfed google for hours and only figured out the getting in into a function and the getting the values back out just cant store it mate thats it

07-26-2011, 03:10 PM
inspect your $_POST using...

echo "<pre>";
echo "</pre>";

you will see the location of the checkboxes and values

You don't need to implode anything?