update_lastpost('thread',$i); //} set_time_limit(240); $forum->update_lastpost('forum', 'all'); //$x = $forum->update_lastpost('forum',16); $timeend = microtime(); $diff = number_format(((substr($timeend, 0, 9)) + (substr($timeend, -10)) - (substr($timestart, 0, 9)) - (substr($timestart, -10))), 4); echo "
script generation took $diff s"; ?>