l(mysql_result($ret,0,'count'))+1; mysql_query('update counter set count='.$number.", timer=".$temptime); } */ $number +=1; mysql_query('update counter set count='.$number); } mysql_free_result($ret); switch (strlen($number)) { default: return $number; } } ?>