can anyone help me in my php update script?please..?

Micharmaine

New member
i have this table that will get information from the current user. What i want to do is that when they click the available link, a text box will appear with the original value inside ready to be changed. i need the code to be in php and mysql, if possible no java-script, please help me here. thank you very much in advance.

<table align="center" id="profile">
<tr><td align="right">ID Number:</td><td><?php echo $_SESSION['sess_idnum'];?></td></tr>
<tr><td align="right">Name:</td><td><a href="profileedit.php" title="change name"><?php echo $_SESSION['sess_fname'];?> <?php echo $_SESSION['sess_lname'];?></a></td></tr>
<tr><td align="right">Password:</td><td><a href="profileedit.php">change password</a></td></tr>
<tr><td align="right">Position:</td><td><?php echo $_SESSION['sess_position'];?></td></tr>
<tr><td align="right">E-mail:</td><td><a href="profileedit.php" title="change email"><?php echo $_SESSION['sess_email'];?></a></td></tr>
</table>
no javascript please, since im not that much familiar with it. and i,m only allowed to use php. if the input box is not possible, then i can consider opening another page., tnx
 
Back
Top