Ver Mensaje Individual
  #4 (permalink)  
Antiguo 31/10/2012, 13:38
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: parametro get con if

Código PHP:
Ver original
  1. if (isset($_GET['var')) {
  2.      foo();
  3. } else {
  4.      bar();
  5. }