Posted on 2010-09-09
I have a form called form3 with the following input boxes:
I need to be able to update records in a mysql database based on SELECTED id values with new status values selected in the status boxes
Each of the boxes is a dropdown feeding off a database of orders and refering to ID of orders and current status
What I am trying to do is to select an id value in each of the boxes and the submit the new status value to the database by using some sort of loop.
I need the php loop to look at the value of id1 and submit the new status1 value of id1 to the database, then the same for id2 / status2 etc
The problem is that I am not so familiar with php loops and would really appreciate some help here