mattastic
06-05-2006, 03:41 AM
Hi,
Can anyone tell me how to do this?
I want to loop thourhg the hours 9-00 to 5-00
So far I have this but it diesnt work.
Thankyou
for ($i = mktime(9, 0, 0, 0, 0, 0); $i <= mktime(17, 0, 0, 0, 0, 0); $i++)
{
echo $i;
}
Can anyone tell me how to do this?
I want to loop thourhg the hours 9-00 to 5-00
So far I have this but it diesnt work.
Thankyou
for ($i = mktime(9, 0, 0, 0, 0, 0); $i <= mktime(17, 0, 0, 0, 0, 0); $i++)
{
echo $i;
}