Hi, i'm doing a profile page, where the user can see all his information. To begin i'm putting the information in a label, but for real i want to put it in textbox, so the user can change the information.
That's one poit i would like change, the other - most important - is pick the info from the table, and it's giving me error.
<?PHP
include 'topo.php';
$sql = "SELECT * FROM alunos where username ='" . $_SESSION ['username'] . "'";
?>
<table>
<tr>
<td>
Utilizador:
</td>
<td>
<?PHP echo $_SESSION ['username']; ?>
</td>
</tr>
<tr>
<td>
Password:
</td>
<td>
<?PHP echo $_SESSION ['password']; ?>
</td>
</tr>
</table>
Help me, please.
Thank You,
PF2G