Hi all what I need to do is create a loop where I start at 12 midnight and add 15 mins each time till I get back to 12 midnight again. Then out put this to a table. this is what I have come up with so far but I cant get my head around the time issue.
$no_of_days = time(0,0,0); // this is where I want to set variable to midnight time but I dont think it is right. I need to set this to secs some how I think.
/// Then this is my loop
for($i=$no_of_days;$i<=86400;$i+900){ // 86400 secs in day and 900 secs in 15 mins
// then out put to table
echo "<tr><td valign=center><font size='3' face='Tahoma'>$i(H:i)<br>";
echo "</font></td></tr>";
Thanks in advance