Re: User Authentication

From: Date: Fri, 27 Feb 2004 14:29:16 +0000
Subject: Re: User Authentication
References: 1  Groups: php.db 
Request: Send a blank email to php-db+get-33184@lists.php.net to get a copy of this message
Craig Hoffman wrote:
$result = ("select user_id password FROM users WHERE username='$username' AND password=md5('$password')");
password is a reserved word. try this instead: $result = ("select user_id password FROM users WHERE username='$username' AND password=md5('$password')"); Erwin Kerk Web Developer

« previous php.db (#33184) next »