I have a form with large amount of checkboxes.
- checkboxes can be - surprise - checked and submitted into the database
- checkboxes values should be retrievable if I run a SELECT query on the result, meaning if I come back to this form later, my previous selection displays as selected checkbox.
- I want to be able to uncheck and re-check the checkboxes, to change my data.
I thought just doing this would be sufficient: (given I already ran the query to select data from the table, and did proper open/close of results display)
<input type="checkbox" name="230" value='<?php echo $row['230']; ?>
I can seem to figure it out... Can anyone give me an idea?
Thanks a bunch!