I want to have a form which has several rows for example
username1 firstname1 surname1
username2 firstname2 surname2
username3 firstname3 surname3
username4 firstname4 surname4
What I want to do is when this data is typed into the form to save it
in a MYSQL db. The problem isn't with the saving, it's with the form
itself. What is the best way to process this?
I can't really name the various fields "username1" and "username2"
because I would then need to replicate these as variables and this form
generated could have an number of rows so hard coding the form field
names with numbers makes it hard. Is there any way I can do this?? How
have other people tackled this sort of thing in the past?
username1 firstname1 surname1
username2 firstname2 surname2
username3 firstname3 surname3
username4 firstname4 surname4
What I want to do is when this data is typed into the form to save it
in a MYSQL db. The problem isn't with the saving, it's with the form
itself. What is the best way to process this?
I can't really name the various fields "username1" and "username2"
because I would then need to replicate these as variables and this form
generated could have an number of rows so hard coding the form field
names with numbers makes it hard. Is there any way I can do this?? How
have other people tackled this sort of thing in the past?
Comment