Galera, is as follows: Having made the user's registration on the site, it saves it in the database (obvious).
This is the code for connecting to the database (is that correct?):
<?php
echo $sql= "select * from users order by email";
$rs =mysql_query($sql,$connection) or die ("Consulta nao realizada");
?>
The question is how to get the bank to just pick up the active user's email and not show the email of all users of the site.
I want to show the active user's email with an "echo $ email" and I do not know where and how to appear.
Thank you!