I want to put check boxes and radio buttons in a form, which result will be stored in the mysql database. I know how to put check boxes and radio button in simple HTML but don't know how to do it with php. What should I do to the fields in the mysql database table in order to allow the database to receive such information (check boxes and radio buttons)
Thank you very much
The html form is identical to the way you would normally create an html form. The processing takes place in the form's target page. Depending on whether you have used the method POST or GET you use the global variable arrays $POST or $GET So, if you had a form element called 'name' that was being sent via POST you would use $_POST["name"] to get the value of that variable. Then you can use that variable in whatever you wish. Good Luck Rob
Radio buttons and check boxes are difficult ones because they don't actually contain any text. They can either be on or off.
Tick boxes usually print ON if they are ticked and nothing when they are not ticked.