Hi, I've looked at various tutorials/forums at this but I still can't get my head around it...
The senario is a html form processed by php, where the user has the option to check some boxes. Once the user has submitted the form, the admin wants to be able to see the results of the boxes checked at registration.
The main part I don't understand is when how the values are stored in MySQL. For a text input for example, I have written the sql like this...
firstname varchar(30) not null All I have seen in tutorials is that the checkbox names need to be an array, but it doesn't say how they are stored in the sql, eg their data type.
Do I also need to create a row for the checkbox values?
Do I need to create multiple rows since there are about 30 checkboxes?
Please can anyone help with this, to make me understand it more clearly?