How do I parse my complicated html form?
Posted: Fri Jun 14, 2002 2:05 pm
I'm pretty new to PHP but after struggling along with phpNuke for my website for a while (and hating it immensely) I have decided to write the code for my own site from scratch. So far I have made some good progress but one of the problems I'm trying to solve is as follows:
I need to have a html form with several rows of information and I want to enter each row of information into a mySQL table individually. So there will be 19 rows of text boxes/dropdown menus on one form and each row will have it's own entry in the database.
The form is actually a race results entry form and each driver will have their own row of data (where they finished, their race number, number of laps completed) etc but all the entries will be for the same race and are therefore on the same form.
How do I process the form so that it creates several database entries rather than just one row?
Any help would greatly appreciated!
I need to have a html form with several rows of information and I want to enter each row of information into a mySQL table individually. So there will be 19 rows of text boxes/dropdown menus on one form and each row will have it's own entry in the database.
The form is actually a race results entry form and each driver will have their own row of data (where they finished, their race number, number of laps completed) etc but all the entries will be for the same race and are therefore on the same form.
How do I process the form so that it creates several database entries rather than just one row?
Any help would greatly appreciated!