0

So I was wondering how I can the the current time and subtract it from another, and lets say there is 20 min left, then if the time runs out the page has to be refreshed, keeping the POST data too.

if($TestJob['Timestamp']-$currentTime is less or equal than 0 sec){
  //refresh page (keep POST data / or just make a new post using only one value like the id "32")
}
Me NoLonely
  • 167
  • 11

0 Answers0