
27/11/2009, 15:35
|
 | | | Fecha de Ingreso: noviembre-2009
Mensajes: 106
Antigüedad: 15 años, 3 meses Puntos: 1 | |
Respuesta: si if es verdadero desplegar pagina creo que de esta forma funcionaria....
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title></title>
</head>
<body>
<?php
$a = 1;
$b = 1;
if($a == $b)
{
?>
<script>
window.location.href = "tupagina.php";
</script>
<?php
}
else
{
echo "no entro";
}
?>
</body>
</html> |