Page 1 of 1
I need a counter
Posted: Mon Apr 10, 2006 10:28 am
by abrusky
I am the webmaster for a direct mail marketing company, PostcardMania.com and I want to add a rolling counter to the homepage. But instead of tracking the number of visitors I want it to track the number of cards we print. We average about 297 cards a minute. How would I set this up to continuously add 297 over the course of a minute.
Posted: Mon Apr 10, 2006 10:37 am
by Grim...
Using PHP?
Maybe you could use mktime() - $time_you_started, divide the result by 60 then multiply by 297.
Posted: Mon Apr 10, 2006 10:42 am
by abrusky
If possible I would like to use php. This was an idea of our marketing director and I am trying to make it as easy on myself as possible
Posted: Mon Apr 10, 2006 10:49 am
by feyd
If you want the on page display to change, it's not possible with PHP alone.
Posted: Mon Apr 10, 2006 10:52 am
by abrusky
to have it constantly rolling would I need flash?
Posted: Mon Apr 10, 2006 10:53 am
by feyd
Flash, Javascript, something client-side.
Posted: Mon Apr 10, 2006 10:58 am
by abrusky
I see. Thanks
Posted: Mon Apr 10, 2006 11:43 am
by Grim...
Javascript would probably be the easiest implimentation anyway.