- - Code, Content, and Presentation
- -- PHP Server Side Scripting
- ---- New to PHP. Need a little help.
StoutFiles - 3:21 pm on Jun 28, 2012 (gmt 0)
$t = date("Gi", time());
if ($t < 145)
elseif ($t < 1245)
...and so on. If you would like to learn more about the date function, I would look here.
Thread source: http://www.webmasterworld.com/php/4470468.htm
Brought to you by WebmasterWorld: http://www.webmasterworld.com