Hi, I want to be able to click on a link that brings me to a form that allows me to change the details of a certain MySQL row. Example, I have a table. The table pulls data from a MySQL database and displays it. I want the user of the site to be able to click a link at the end of the table row that brings the user to a new page that asks them to fill out a form. What is the best way of going about making this? Thanks.
If you want the easy way, use a data grid system to display/edit/delete/add data to your tables. There are many out there you can use: https://www.google.com/search?q=php...la:en-US:official&client=firefox-a&channel=sb If you want to do it yourself, you can add an onclick event to the row when clicked an input box appears with the data and once the focus is out save it with an ajax call to the backend.
Hi PHPMaster, Do you know how I could make it so that when you click on the link the 'Name' field in that table row gets filled in automatically in a form on another page?