Ver Mensaje Individual
  #6 (permalink)  
Antiguo 18/07/2002, 00:24
Herminio Heredia San
 
Fecha de Ingreso: septiembre-2001
Ubicación: Monterrey
Mensajes: 663
Antigüedad: 22 años, 6 meses
Puntos: 6
Re: Si el contenido de una variable es NULL o vacia

Creo que quedaria mejor de esta forma.

Código:
<?php
if (!isset($page)||empty($page)  )
{
$page = 'home.php';
}
?>
<a href='ir.asp?http://www.php.net/manual/en/ref.variables.php' target='_blank'>http://www.php.net/manual/en/ref.variabl...</a>

Saludos!.
Mty. NL.