PHP Post Dynamic Data
Posted on 2006-06-29
I have a page which is dynamically created from data within a MySQL database (prs.php). The table I get this data from is called ReturnItem, it has a primary key ReturnID which is an auto_increment integer.
I then have another table within the database called PRS which stores additional values about each ReturnItem record.
The prs.php page displays data from the returnitem table, then I need to add 3 textboxes for each ReturnItem record so users can add that data to the PRS table via a form Post method.
the prs.php form posts to prsadd.php
How do I send the form to another page and add each new record it to the PRS table with the proper ReturnID number???
Thanks in advance!