Read the record from the database to the form and modify the record. read one or N records from the database, use the while loop to get all the values in the array, and there will be a modified button after each record, after you click modify, all the values of the modified data are input to the form in the same IFRAME. after the user completes the modification, click confirm to modify, and update the database. The record is not read from the database to the form and modified. record
Read one or N records from the database, use the while loop to output all values in the array, and a modified button will be followed by each record,
After you click modify, enter all the values of the modified data into the form in the same IFRAME. after the user completes the modification, click OK to modify and update the database.
I don't know what I'm talking about. how can I implement it?
------ Solution --------------------
Isn't this the most common feature of the general website background?
Just download one and check it out.
PHP code
While (/* The loop read here */) {echo $ row ['title']. "-edit ". "delete"; // edit. use a swich in php to determine whether the obtained action is edit or del, and then set the php code for the two cases respectively}