PHP Multi-line input form and MySQL
Posted: Wed Aug 30, 2006 10:57 pm
I have a form with multi-line input fields that I would like to same in MySQL table (each line will be a record in the table).
The form has the following fields
Hidden id field called id
First Name called fName
Last Name called lName
The form has 10 lines - each line has a unique hidden id value. The other two fields each has the same name and value on each of the 10 lines.
When the user clicks the submit button, I would like to go throught the $_POST value and group each line in an array and save it to the MySQL table called client.
I would very much appreciate you help - this is new to me.
Regards,
Maru
The form has the following fields
Hidden id field called id
First Name called fName
Last Name called lName
The form has 10 lines - each line has a unique hidden id value. The other two fields each has the same name and value on each of the 10 lines.
When the user clicks the submit button, I would like to go throught the $_POST value and group each line in an array and save it to the MySQL table called client.
I would very much appreciate you help - this is new to me.
Regards,
Maru