Ver Mensaje Individual
  #3 (permalink)  
Antiguo 21/11/2011, 16:43
Avatar de GatorV
GatorV
$this->role('moderador');
 
Fecha de Ingreso: mayo-2006
Ubicación: /home/ams/
Mensajes: 38.567
Antigüedad: 18 años, 3 meses
Puntos: 2135
Respuesta: Problema al pasarle listado a PDO

PDO no soporta eso, según el manual:
Código PHP:
Ver original
  1. You 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.