queries by
hand.
Anyway, per my latest message, I found where in the PHP manual it implies that
PDO prepared statements cannot be used with the MySQL IN function, which speaks
to my original question.
Thanks for trying!
- TK
--
PHP Database Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
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
At 03:21 AM 7/9/2008, Thodoris wrote:
>At 04:16 PM 7/8/2008, Philip Thompson wrote:
>>>On Jul 8, 2008, at 11:55 AM, TK wrote:
>>>>I'd like to use a PDO prepared statement to perform a MySQL query
>>>>that uses the IN function.
>>>>
>>
At 04:16 PM 7/8/2008, Philip Thompson wrote:
>On Jul 8, 2008, at 11:55 AM, TK wrote:
>
>>I'd like to use a PDO prepared statement to perform a MySQL query
>>that uses the IN function.
>>
>>I.e.:
>>$stmt = $pdo->prepare('
>> select *
>>
t be done? (Note that I do not know
how many elements will be in $contents ahead of time, so something like IN
(:contents1, :contents2) wouldn't make sense.)
Thanks for any help!
- TK
--
PHP Database Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php