In this line: if($row["account_password"]==$login_name
you are missing a parenthesis character " ) " to end the condition with. Richard. [EMAIL PROTECTED] http://www.dreamriver.com -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php