$data2 = mysql_query("SELECT *,UNIX_TIMESTAMP(`getaway`) AS `getaway`,0 FROM `[users]` WHERE `login`='{$_SESSION['login']}'"); $data1 = mysql_fetch_object($data2); $tijdverschil1 = $data1->getaway-time(); if($data1->getaway + 3600 > time()){ list($uur,$min,$sec)=explode(":",date("H:i:s",$tijdverschil1)); ?>