Originally Posted by mike92
Hi I am really stuck on a piece of code that checks the users username and then displays there email address ?
We can't do nothing without seeing code, but here's what i think you need:
$username = "Santa";
$query = mysql_query("SELECT email FROM users WHERE username = '" . $username . "' LIMIT 1");
$row = mysql_fetch_assoc($query);