First of your welcome 🙂
There are some items of coding i get stuck on... like noobish... hint $_POST :rolleyes:
But neways...
You can do either make its own page maybe a popup or something up too you, but the code like calling the database and tables must be with it, or you can include the data
<?
include("data.php");
?>
but anyways, what i basically done was called the information of the user, that will want to modify there information, and instead on displaying the information as text, i placed it in textboxs, but putting the code in the Value, then submitting the new information, this could also be in a new page, and maybe have something like, Information Successfully Updated, This page will close in 5 Seconds 😃 use your imagination for that part.
The mysql part, the first part was just a copy of your code, as editing the information will only need the same code to view it but in different contents and layout.
Sending the information, what we are doing here its basically updating the database, with giving it new information, without deleting or creating a new table, so we are updating the table instead.
All you have to do is make sure the correct table names are right and its in the correct order as you wouldnt want lets say password going in username now would ya ? :p
I reckon you should make different files, so then it wont confuse ya, do it like this for now, and when you progress then try and make it all 1 file, also mate, different files makes it easier to modify as you wont have to keep on search thru a large file for 1 piece of code :bemused: makes sense... huh?
anyways hope this helped
🆒