" .$count_total . "
Total Hits: " .$hits. "
Daily Avg. Visits: " .$avgvisit. "
Daily Avg. Hits: " .$avghit. "

"; } function usersonline() { $result2 = mysql_query("SELECT DISTINCT ip FROM useronline WHERE guest=1"); $user2 = mysql_num_rows($result2); mysql_free_result($result2); if ($user2==1) {echo 'There is currently '. $user2.' visitor browsing this website.';} else {echo 'There are currently '. $user2.' visitors browsing this website.';} } ?>