Hey everyone,
I have six rows of text boxes for users to enter into. The fields are named like
ROW1: invqty, invpart, invdesc, invlist, invprice, parttotal
ROW2: invqty02, invpart02, invdesc02, invlist02, invprice02, parttotal02
ROW3: ...
ROW4: ...
How can I add these to variables so $invoiceqty = invqty, invqty2, invqty3, etc. $invoicepart = invpart, invpart02, invpart03, etc.
and then loop through them, inserting them into a table until all data is INSERTED (so if only 2 rows of text fields are filled out, only 2 new rows will be added to the table?)
If anyone has any suggestions, please let me know!
Thanks,
JWinchester1