*/ /** * Start a timer and hand it back to the JS by assigning the current time (of start) to * var asset_timer * @return string JavaScript time intializer */ function start_timer() { $time = time(); return $time; //"olms.asset_timer='$time'; olms.asset_timer_total = 0;"; } echo start_timer();