php mysqli DÓNDE EN (?,?,?…)

De acuerdo ahttp://us2.php.net/manual/en/mysqli-stmt.bind-param.php, los diferentes tipos son:

i   corresponding variable has type integer
d   corresponding variable has type double
s   corresponding variable has type string
b   corresponding variable is a blob and will be sent in packets

Sin embargo, ¿cómo puedes manejar esto?

->prepare("SELECT blabla FROM foo WHERE id IN (?)")

Dónde ? Sería una lista de identificadores. Podría haber uno o más elementos:

$ids = "3,4,78";
->bind_param('s',$ids);

¿Es eso posible?

Me gustaría usar sentencias preparadas porque se ejecutarán en un bucle.

Respuestas a la pregunta(4)

Su respuesta a la pregunta