I am wanting to create a PHP MySQL script that will display data and then allow the user to edit the data, but without having to leave the page in order to do so.
So is it possible to display the MySQL data in a form, allow the user to click on it and edit it (like a normal email form) and click a save button and have the data update.
I understand the save button will reload the same page, I just dont want the user to have to go to a different page to edit the data.
Yes, it’s possible. Just use
It’s possible also without any reload – using JavaScript and AJAX. jQuery makes usage of AJAX a lot simplier.