I know this question doesn't directly pertain to PHP, but I'm using the information in a PHP script, so I hope it's cool.
I have a form, and on this form are 3 checkboxes, let's call 'em A, B, and C, all with the name attribute set as "checkbox", and their value attributes set at A, B and C, respectively.
After I submit my form, I have a line that will echo this information:
echo $_POST['checkbox'];
This only returns one of the checkboxes, though. If A, B, and C are checked, it will echo only "C".
How do you make it echo all checked boxes? Is there some sort of array? 😕