Try fixing your SQL:
$result = ("select user_id, password FROM users WHERE username='$username'...
You forgot a comma between user_id and password.
On Fri, 27 Feb 2004, Craig Hoffman wrote:
> // check if username
> $result = ("select user_id password FROM users WHERE
> username='$username' AND password=md5('$password')");
---------------------------------------------------------------------------
Peter Beckman Internet Guy
[EMAIL PROTECTED] http://www.purplecow.com/
---------------------------------------------------------------------------
--
PHP Database Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php