Capturing Form values into an Array
Hi, this is probably an easy question to answer, but I'm throughly confused by arrays.
I have a form that is capturing info for up to 5 different vendors. For each vendor, I'm asking for 4 pieces of info (vendor name, alt1, alt2, alt3).
In my database, each alt needs to get put into it's own row, i.e:
Record 1 = vendorName, alt1
Record 2 = vendorName, alt2
Record 3 = vendorName, alt3
I think the best way to caputre this info from the html form is to put the data into an array, but I'm not sure how...
Any suggestions would very much appreciated.
Thanks
Terry
|