$auth = mysql_query("SELECT username, userlevel, password, email FROM users WHERE id = '".$_SESSION['uid']."'");
while ($row = mysql_fetch_array($auth))
{
$password = $row['password'];
}
Also, can anyone tell me what the relevance of adding '!' is to an if statement eg.
This: if(!isset($_SESSION['uid']))
Instead of this: if(isset($_SESSION['uid']))
Thanks -- Using M2, Opera's revolutionary e-mail client: http://www.opera.com/m2/
-- Using M2, Opera's revolutionary e-mail client: http://www.opera.com/m2/
-- PHP Database Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php