Re: PDO prepared statements and value list for MySQL "IN"

From: Date: Thu, 10 Jul 2008 04:59:30 +0000
Subject: Re: PDO prepared statements and value list for MySQL "IN"
References: 1 2 3  Groups: php.db 
Request: Send a blank email to php-db+get-45140@lists.php.net to get a copy of this message
At 05:53 PM 7/8/2008, TK wrote: >>>I'd like to use a PDO prepared statement to perform a MySQL query >>>that uses the IN function. I may have found my answer (in the PHP manual, under PDO->prepare(). Go figure!): "You cannot bind multiple values to a single named parameter in, for example, the IN() clause of an SQL statement." Perhaps this means it cannot be done. - TK

« previous php.db (#45140) next »