Dear All, I am relatively new to php. I have the following problem. Suppose I have a page with
- a form with two fields x, y and two buttons: submit and clear;
- a table that shows the db records for x, y with two buttons, edit and delete
when I enter values in the form fields and press button, submit inserts the data in the db; data is then shown in the table below;
when I press edit on the table, the form is populated with the data from the selected record. Now I want submit to update the record and not just insert a new one.
How should I proceed?
Thanks!!!
Giuseppe