whoops. typo. "pass an array".

2009/1/14 Tobias Gies <[email protected]>:
> Hey Keith,
>
> if I remember correctly, you can bass an array of IDs as $categoryId.
> This should result in the query you want.
>
> Best regards,
> Tobias
>
> 2009/1/14 keith Pope <[email protected]>:
>> Hi,
>>
>> How do you add an IN() to a where using select? I am getting
>> IN('1,2,3') rather than IN(1,2,3), which gives incorrect result.
>>
>> $select->from('product')
>>           ->where('categoryId IN(?)', $categoryId)
>>
>> Thx
>>
>

Reply via email to