Ver Mensaje Individual
  #10 (permalink)  
Antiguo 20/06/2008, 11:21
Avatar de GatorV
GatorV
$this->role('moderador');
 
Fecha de Ingreso: mayo-2006
Ubicación: /home/ams/
Mensajes: 38.567
Antigüedad: 18 años
Puntos: 2135
Respuesta: Consulta a MySQL con parametros "indistinto"

Solo agrega más opciones usando $conditions[] para ir agregando, fijate en el if y ve agregando más ifs por cuanto necesites.

Saludos.