Re: Syntax Error
| From: | Chris | Date: | Mon, 08 Jan 2007 00:08:36 +0000 |
| Subject: | Re: Syntax Error | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-246721@lists.php.net to get a copy of this message | ||
JD wrote:
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);You've already posted this on the php-db list and had two responses. No need to send it to all php mailing lists you can find. -- Postgresql & php tutorials http://www.designmagick.com/