Ver Mensaje Individual
  #2 (permalink)  
Antiguo 28/05/2007, 15:24
Avatar de GatorV
GatorV
$this->role('moderador');
 
Fecha de Ingreso: mayo-2006
Ubicación: /home/ams/
Mensajes: 38.567
Antigüedad: 20 años, 5 meses
Puntos: 2135
Re: Cómo puedo simplificar esto?...

Código PHP:
$nocats = array( 3, 9, 25, 31, 46, 60, 62, 95, 99, 100, 152, 158, 166, 167, 189 );
if( 
in_array( $categoria['id'], $nocats ) ) {
   echo 
"cerrada";
}