passing reserved words as a string to mySQL
| From: | Kieu D. Trang | Date: | Wed, 14 May 2003 14:13:16 +0000 |
| Subject: | passing reserved words as a string to mySQL | ||
| References: | 1 2 | Groups: | php.db |
| Request: | Send a blank email to php-db+get-27746@lists.php.net to get a copy of this message | ||
hi all...
I am having a problem passing the reserved word "IF" as a string...
I am concatenating a query string in which includes
"IF (something is not NUL, blah, blah, blah) as name"
but the string is always 0 since it evaluate the if statement before
concatenating it to the $query_string...
I don't know how to pass this problem... your advise is appreciated.
thanks,
KD