Re: md5('$password')

From: Date: Thu, 19 Oct 2000 01:48:13 +0000
Subject: Re: md5('$password')
References: 1  Groups: php.db 
Request: Send a blank email to php-db+get-3776@lists.php.net to get a copy of this message
> $sql = "SELECT * FROM auth WHERE username='$username' AND > password=md5('$password')"; > <?php Try: $sql = "SELECT *\n". " FROM auth\n". " WHERE username='$username'\n". "HAVING password=md5('$password')\n"; I'm a freak for indentation and pretty printing... sorry. I had the same problem; HAVING cured it.

« previous php.db (#3776) next »