Syntax Error
| From: | JD | Date: | Mon, 08 Jan 2007 00:06:24 +0000 |
| Subject: | Syntax Error | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-246720@lists.php.net to get a copy of this message | ||
Can someone help me figure out why I can't run this on MySQL. I get a
syntax error.
list($qh,$num) = dbQuery("SELECT password AS passwd1,
$DATABASE_PASSWORD_FUNCTION('$password') AS passwd2 ".
"FROM $USER_TABLE WHERE username='$username'");
$data = dbResult($qh);