Not sure if this is a mySQL question or if its a PHP question (for the form), but I have a number of checkboxes in my online form and I want to store the values in my mySQL database.
I have a database which stores general information about a user (name, email, tele, city, etc) and I have about 6-8 checkboxes in the form. The user can select any amount of checkboxes.
How do I store these values in my DB?
Do I have a column for every checkbox (which may change) or is there a better method?
Thanks ;-)
I have a database which stores general information about a user (name, email, tele, city, etc) and I have about 6-8 checkboxes in the form. The user can select any amount of checkboxes.
How do I store these values in my DB?
Do I have a column for every checkbox (which may change) or is there a better method?
Thanks ;-)