MySQL Set Datatype and Checkboxes

admin

Administrator
Staff member
Hi,

I've spent some time searching for a way to implement checkboxes in an HTML form and have those results stored in a single field in a MySQL table. It would appear that the datatype SET would work. Does anyone have a working example I could see?

What I am trying to accomplish is the following:

Have say 4 options displayed on a form with checkboxes. Rather than create a separate field for each option, I would like to store the results in a single field which would be a set datatype.
Any help here would be greatly appreciated!


Dave
 
Back
Top