I have a html form with a table with a dynamic row and a button that adds a new row when pressed.
Each row has the input fields, each with an array name.
Ref[], id[], name[], price[], quantity[]
When I submit the form I want to take each row of the table and write it out as a record to a sql server table.
I am ok with the sql code but as a php newbie I am struggling working out how to loop through the rows of POST variables
Any suggestion would be much appreciated