same variable multiple times in the same for import into MySQL
Posted on 2011-03-06
I am creating a form that signs up multiple people at a time. firstName, lastName, and Email are the fields in the form.
I am trying to import it into mysql to save in the table as separate entries. I have tried to do a foreach() but I can not seem to get that to work for the multiple variables. I am not sure how I can use $_REQUEST to get all the different variables into one array or if that would even work.
any input would be greatly appreciated, thank you in advance