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 | boxes, check, fields, multiple, MySQL
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.