Ver Mensaje Individual
  #9 (permalink)  
Antiguo 06/11/2008, 08:55
Keysher
 
Fecha de Ingreso: noviembre-2002
Mensajes: 1.341
Antigüedad: 21 años, 5 meses
Puntos: 17
Respuesta: El bloque IF no se ejecuta correctamente

Prueba estas variaciones:

Código php:
Ver original
  1. $valor_activo = mysql_fetch_array($result_activo);
  2. $_activo = $valor_activo['activo']
  3. echo $_activo;
  4.  
  5. if ($_activo == 0)
  6.  {

y

Código php:
Ver original
  1. $valor_activo = mysql_fetch_array($result_activo);
  2. echo $valor_activo["activo"];
  3.  
  4. if ($valor_activo["activo"] <> 1)
  5.  {