you just create a table with column like view..
the increment that column every time user visited your site like:
if(isset($_GET['view']))
{
$r="update viewtable set views=(views+1) ";
$r1=mysql_query($r);
}
header("location:yournextpage.php");
and use this:
<a href="www.yousite.com?view" >
Shanti C
Posting Virtuoso
1,642 posts since Jul 2008
Reputation Points: 137
Solved Threads: 162
You could also use Google Analytics . It will give you a hit count, average time on site, keywords used to find the site, traffic sources (referring site), breakdown of stats of which search engine was used to find your site, pages per visit, a global map view of where the hits came from, individual page stats, and more!
buddylee17
Practically a Master Poster
697 posts since Nov 2007
Reputation Points: 232
Solved Threads: 137
Shanti C
Posting Virtuoso
1,642 posts since Jul 2008
Reputation Points: 137
Solved Threads: 162