Coder_PhP Posted January 1, 2011 Share Posted January 1, 2011 Sry if this is in the wrong section, im new here. Im trying to display something if the time is greater than TIME_NOW Im currently using something like this: $first = TIME_NOW - (86400*$settings['settings1']); if($first > (86400*$settings['settings2']) { $text = "Display my text here"; } Its hard to explain , but hopefully some of you guys can see what im trying to do Basically i want to call TIME_NOW , let the user set the setting to display the "$text" 5 minutes later. Link to comment https://forums.phpfreaks.com/topic/223158-php-time-help/ Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.