Categorized | MySQL

How do you add the fields for multiple check boxes in Mysql?

Posted on 11 March 2010 by Abidoon

I am creating a table in mysql and I need to figure out how to add data for a check box with options on a database… Would it be easier to crate another table just for the check boxes?

Can anyone help me…?

Tags | , , , ,

One Response to “How do you add the fields for multiple check boxes in Mysql?”

  1. Colanth says:

    Depending on how many checkboxes you need, you could use a field that’s byte or integer long. Use binary arithmetic to equate each bit with a checkbox.


Leave a Reply