Hello everybody.Code:<? for ($z=1; $z<=100; $z++) { $temp_time = (20050505113200 + $z); echo $temp_time.'<br>'; } ?>
I'm trying to loop through, adding 1 to the variable $temp_time, however PHP is outputting this "2.00505051132E+013".
Instead I would like:
20050505113201
20050505113202
etc.
Any help is appreciated.




Reply With Quote