In my MySQL database I have a table like this:
Column Value
----------------------------------
Id int pk autoinc
Name varchar(50)
Choices set('a', 'b', 'c', ...)
... ...
When this data is being updated, I'm looking to have lots of checkboxes displayed with each checkbox representing a member of Choices. With each checkbox being created in PHP similar to this:
echo "<input type=Checkbox name=$choiceName[i] value=$choiceName[i]>"
My question is how do I create these checkboxes from and populate them (by being checked or not) for a particular Id in the table.