PDO no soporta eso, según el manual:
Código PHP:
Ver originalYou must
include a unique parameter marker
for each value you wish to pass in to the statement when you call PDOStatement
::execute(). You cannot
use a named parameter marker of the same name twice in a prepared statement
. You cannot bind multiple values to a single named parameter in
, for example
, the IN
() clause of an SQL statement
.
Tienes que construir manualmente tu query.
Saludos.