Ver Mensaje Individual
  #4 (permalink)  
Antiguo 11/02/2009, 13:53
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: Como lo hago ?

Te faltan las llaves en los ifs, la sintaxis es:
if(condicion) {
statments;
} else {
more statements;
}

Saludos