note 115713 deleted from pdostatement.bindparam by sobak
| From: | sobak@php.net | Date: | Sun, 20 Nov 2016 00:12:35 +0000 |
| Subject: | note 115713 deleted from pdostatement.bindparam by sobak | ||
| References: | 1 | Groups: | php.notes |
| Request: | Send a blank email to php-notes+get-207212@lists.php.net to get a copy of this message | ||
Note Submitter: amerador20 at gmail dot com
----
Hi, i have an error when i use a reserved keyword in a bindparam() function. I use in a database
field a the word 'unique' in some items, but when i send this query to mysql returned me
an null:
"SELECT *
FROM ItemsOptions
WHERE option = unique"
how can i use reserved keywords in a bindparam? i used escape special character such a ` but not
woks.
Thanks in advance