I just need help with a single script for a MySQL/php insert. The data is passed from a form and I just need some type of loop to make multiple inserts in a single query.
I have a loop that pulls all the rows from TableA and creates a set of 7 form fields for each row. 5 of the fields are existing columns taken from TableA. 2 of the fields are blank input fields where an integer is entered. When the form is submitted, I need an individual row added for each set of 7 fields. This data will then be inserted into TableB.