Ver Mensaje Individual
  #2 (permalink)  
Antiguo 22/10/2009, 15:07
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: if dentro de otro if

Código PHP:
Ver original
  1. if (foo()) {
  2.        if (bar()) {
  3.  
  4.        }
  5. }

No hay problema para anidar 2 o más ifs.

Saludos.