Ver Mensaje Individual
  #3 (permalink)  
Antiguo 23/04/2008, 10:41
Avatar de GatorV
GatorV
$this->role('moderador');
 
Fecha de Ingreso: mayo-2006
Ubicación: /home/ams/
Mensajes: 38.567
Antigüedad: 18 años, 8 meses
Puntos: 2135
Re: Consulta Mysql con arrays

Es mejor utilizar el operador IN:
Código:
SELECT * FROM tabla WHERE grupo IN ( 1, 2, 3 ) AND genero IN ( 3, 4, 5 )
Saludos.