note 88002 deleted from pdostatement.bindparam by thiago
| From: | thiago@php.net | Date: | Mon, 05 Jan 2009 19:36:34 +0000 |
| Subject: | note 88002 deleted from pdostatement.bindparam by thiago | ||
| References: | 1 | Groups: | php.notes |
| Request: | Send a blank email to php-notes+get-148861@lists.php.net to get a copy of this message | ||
Note Submitter: Charlie Smith
----
@chance garcia
The values are supposed to be passed by reference. Which means you bind them once and never need
bind them again. Instead they are to be evaluated at the time of execution.
In your example the PDO-intended way is to use bindValue.