You are visitor "; ////$firstpart edit First part of hitcounter text $lastpart = " of this page"; /// ///$lastpart Edit last part of hitcounter text $firsthit = "
You are the First Visiter to Visit this Page
Please Reload the page to test the counter
"; ///$firsthit Edit text that shows when page is hit the first time $result = mysql_query ("SELECT * FROM pagecount where page= '$pg'"); if ($row = mysql_fetch_array($result)) { do { $pagecount=$row[0] + 1; $pagecount1 = number_format($pagecount); // print $firstpart.$pagecount1.$lastpart; } while($row = mysql_fetch_array($result)); } else { $result = mysql_query("insert into pagecount values('1' , '$pg')"); $pagecount = "1"; print $firsthit.$pg; } $update = mysql_query("update pagecount set count = '$pagecount' where page = '$pg'"); mysql_close(); //return $pc; } adv_count($rp); //echo $pc; ?> Localizador en mapa
Lat: Lng: Selecciona un país..