[PHP-DB] Syntax Error

2007-01-09 Thread jeremy . deal
Can anyone help me figure out what is wrong with this syntax. Thanks. list($qh,$num) = dbQuery(SELECT password AS passwd1, $DATABASE_PASSWORD_FUNCTION('$password') AS passwd2 . FROM $USER_TABLE WHERE username='$username'); $data = dbResult($qh); -- PHP Database Mailing List

Re: [PHP-DB] Syntax Error

2007-01-09 Thread niel
Hi is the syntax error reported for the php or the SQL? Better yet, supply the actual error message, so we can see for ourselves Niel -- PHP Database Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP-DB] Syntax Error

2007-01-09 Thread dmagick
JD wrote: Can anyone help me figure out what is wrong with this syntax. Thanks. list($qh,$num) = dbQuery(SELECT password AS passwd1, $DATABASE_PASSWORD_FUNCTION('$password') AS passwd2 . FROM $USER_TABLE WHERE username='$username'); $data = dbResult($qh); No need to repost your

Re: [PHP-DB] Syntax Error

2007-01-07 Thread Chris
JD wrote: Can anyone help me figure out what is wrong with this syntax. Thanks. list($qh,$num) = dbQuery(SELECT password AS passwd1, $DATABASE_PASSWORD_FUNCTION('$password') AS passwd2 . FROM $USER_TABLE WHERE username='$username'); $data = dbResult($qh); No need to repost your

Re: [PHP-DB] Syntax Error

2007-01-07 Thread Niel Archer
Hi is the syntax error reported for the php or the SQL? Better yet, supply the actual error message, so we can see for ourselves Niel -- PHP Database Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

RE: AW: [PHP-DB] syntax error - -- agghhh!

2001-04-25 Thread Michael Rudel
it's always eaiser to count the parens and braces backwards to make sure they're all there. i do it all the time. ... or you use a cool Editor (like UE32) which will do this job for you =8) Greetinx, Mike (Germany) -- PHP Database Mailing List (http://www.php.net/) To unsubscribe,

[PHP-DB] syntax error - -- agghhh!

2001-04-24 Thread Marc S. Bragg
Hi Anyone have any idea of what the syntax error in this statement is? else if (($op == ds) ($action == sub) ($password == $passnog) ($password) (!eregi(^([a-z0-9_]|\\-|\\.)+@(([a-z0-9_]|\\-)+\\.)+[a-z]{2,4}$,$email)) { It worked fine until I added the tricky part:

AW: [PHP-DB] syntax error - -- agghhh!

2001-04-24 Thread Thomas Lamy
Marc S. Bragg [mailto:[EMAIL PROTECTED]] wrote: Hi Anyone have any idea of what the syntax error in this statement is? else if (($op == ds) ($action == sub) ($password == $passnog) ($password) (!eregi(^([a-z0-9_]|\\-|\\.)+@(([a-z0-9_]|\\-)+\\.)+[a-z]{2,4 }$,$email)) { It