I'm using Perl DBI, CGI.pm and a MySql database that is updated from an html form..
What I want to do is to give users the ability to enter multiple values for the same field in the html form, and each of these should insert a new record into a mysql table.
For instance, I have up to five "member" (name="member") input fields in the html form.
The user can enter 1-5 members.
Each of these should create a new, unique row in the mysql table "member".
I believe there has to be some kind of array in the perl DBI script that handles this, i.e something that loops through all "member" values that it receives from the html form and creates an INSERT INTO statement for each.
But I am not sure how this is done in practice. And I am not sure exactly what the form should look like in order to accomplish this.
*Many* thanks for any help!