Page 1 of 1

Best way to create custom counter

Posted: Tue Jun 01, 2004 11:10 am
by jonas
Basically it's easy to just update a variable in the database +1 when the page is accessed, but say I want a counter to appear similar to http://www.ffonline.com where they have graphics for each number 0-9 and it changes automatically with graphics..

How would you do that?

EDIT: Sorry a bit more specific, ffonline.com scroll down and its on the bottom left.

Posted: Tue Jun 01, 2004 12:10 pm
by feyd
their hit counter is seperate graphics for each number.. get the count from the database. loop through the string form of the value printing out an image for each number..