I have multiple checkboxes in a form and all have the same name. The form emails the results. My problem is that only the value of the last checkbox that is checked is sent.
Example:
<input type="checkbox" name="interests" value="1">
<input type="checkbox" name="interests" value="2">
<input type="checkbox" name="interests" value="3">
How can I get all of the checked values to appear?
After I complete this I have a similar form which has to insert the values in a single field in a database (preferably seperated by commas). Anyone have any suggestions?