5 something like while ($thishour >= 1 + $lasthour) I'm trying to figure out how to code a php script so that it only runs when it's been an hour or more since the last time the page was loaded. Any help would be appreciated.