Cita:
Iniciado por New
Código php:
Ver original<?php
if($fecha == "5:30"){ echo "<script>location.href='index2.php'</script>"; }
elseif ($fecha == "6:30"){ echo "<script>location.href='index1.php'</script>"; }
?>
Saludos!
Haber si te funciona
y cuando sean las 6:31
Saludos.
EDITO: Si lo que te dio
New no te sirve intenta esto.
Código php:
Ver original<?php
if($fecha < "5:30"){
echo "<script>location.href='index2.php'</script>";
}
elseif ($fecha > "6:30"){
echo "<script>location.href='index2.php'</script>"; }
?>