$_SESSION['nick'] $_SESSION['password']to keep the user logged in, so you could do this to find out everything else about the user
$nick = $_SESSION['nick'] $password = $_SESSION['password'] $result = mysql_query("SELECT nick,First,Last,email,approve,id FROM $table WHERE nick='$nick' AND password='$password' "); while($row = mysql_fetch_array($result)) { $id = $row['id']; $First = $row['First']; $Last = $row['Last']; $email = $row['email']; $approve = $row['approve']; }
I upload all the code soon, just a few touch ups in the login script, I got registering, and them approval put down and finished. It is all pretty raw output, there is no head element or anything like that.
Edited by Michael, 10 January 2007 - 04:14 PM.