Your IN clause placeholder will only work if there's one value. You either have to dynamically create the query so the number of IN placeholders matches the number of IN bind parameters; or you have to dynamically create the IN clause to expand to what you want.
There's a decent thread on this here that has examples.
In reply to Re: Style: Passing the same value for multiple DBI placeholders
by steves
in thread Style: Passing the same value for multiple DBI placeholders
by diotalevi
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |