Made user registration on the site, it saves in the database (obvious).
<?php
$query = mysql_query('select email from users where username="admin4"');
while ($row = mysql_fetch_assoc($query)) {
echo $row["email"];
}
?>
The question is how do to the bank just get the active user email and not show email all users of the site. I want to show the active user and email with an "echo $email" and do not know where and how to appear.
Thank you!