currently when users log in and go to there profile page I there information stored to the data base is echo out to them which looks like this,
Username: jasonwhite
Phone: 888555999
Mobile: 999555888
E-mail: [email][email protected]
Web: jason.com
I would like to make the
the username phone mobile email web names to be links and when you click these links it opens a field allowing the user to change the information stored in these rows on the data base. Then when changed and submitted the information to be viewed and the old information discarded. Currently I am set up with a login.php page calling the information upon login and the variables are set in this page. how would I go about doing this.
This is currently how the information is being echo on the profile page
<div id=”userinfo”>
<?php
echo “<p><b>Username: ” . $_SESSION[‘username’] . “</b><br>Phone: ” . $_SESSION[‘mobile’]. “<br>E-mail: ” . $
?>
</div>
I am assuming I need to change this line calling the heading lables to be links and then send those links to a for page. this for page needs to change information.
can someone walk me through this. if so please tell me what files you need me to post and what changes I need to make to each line thanks.