On Fri, 3 Sep 2004 03:28:31 +0100, "devil_online"
<de************@hotmail.com> wrote:
Hi have this code, that I print two or more things ate a diferente time, and
the page refreshs after 10 seconds.
<head>
<meta http-equiv="refresh" content="10">
</head>
<body>
<?php
$hour = 21;
$minute = 06;
if(date('H')==$hour AND date('i')==$minute)
{ echo "hi how are you."; }
$hour = 21;
$minute = 07;
if(date('H')==$hour AND date('i')==$minute)
{ echo "are you fine?"; }
?>
however it is possible to keep in the page the information that was printed?
thanks
You could store the data in a SESSION, then read / display and overwrite
that with the next set of data and so on.
Regards,
Ian
--
Ian.H
digiServ Network
London, UK
http://digiserv.net/