<?php
// // Before beginning, execute: // // mysql --database=your database goes here -f < counter.sql // // Which creates the database and the tables necessary for counter // to work. // // Creating the counter object does all the work of modifying the // database and updating the page counter and/or the specific user // counter. //
include_once("class.counter.php") ;
$theCounter = new Counter("counter", "localhost", "counter", "") ;
print($theCounter->oneDigitTable("bgcolor=#ff0000", "", 6)) ; ?>
|