hi how can I make it so something will increase by 1 every 10 mins?
Ive tried this but it doesnt seem to work.
$c1oturns=floor($c1oturns+(($newtime-$oldtime)/600)) the last time they clicked on a page, and is retrieved from a table
$oldtime=date("U") the last time they clicked on a page, and is retrieved from a table**
$newtime=date("U");
$c1nturns=floor($c1oturns+(($newtime-$oldtime)/600));
$test1=$newtime/600;
$test2=floor($newtime/600);
if($remaindertime1!=$remaindertime2)
{
$newtime-=60;
}
else
{
$newtime=$newtime;
}