I have a bit of a problem... I have a form with checkboxes. For each checkbox has a value which is an ID #. Now once they submit i have my mysql_insert code, but i want to create a loop, so it will insert a new row for every checkbox they have checked.
Example of HTML:
<input type="checkbox" name="list[]" value="1">
<input type="checkbox" name="list[]" value="2">
<input type="checkbox" name="list[]" value="3">
Im a bit confused on how for and while loops work exactly. Hope someone can point me in the rigth direction.
Regards,
Derek C.