I have a form which I use to update stock levels in a mysql table. The three fields I post are:
lst_product_id[]
txt_quantity[]
txt_cost[]
I can do this easily enough to update one product, however, I would like to be able to update more than one product at a time from the form by adding some more input fields.
To do this, I added another row of three input fields (same as above) and put the [] square brackets behind all six to create an array.
This is where it all goes pear shaped, can anyone show me how to pick up the array when I post to the insert page and and update the table.
I am using the mysqli extension and am really lost here. Thank's in advance. David