|
High Density Counter
Using High Density Counter class.
Step 1: Load the class. require_once("counter.class.php");
$counter = new bsg_counter();Step 2: Add to the counter. $counter->add();Example. This page has been viewed 2,440 times. Code: <?php
require_once("class/counter.class.php");
$counter = new bsg_counter();
$counter->add();
echo "This page has been viewed " . number_format($counter->count) . " times.";
?> |
Network
Products & Services
|