I need a counter

Ye' old general discussion board. Basically, for everything that isn't covered elsewhere. Come here to shoot the breeze, shoot your mouth off, or whatever suits your fancy.
This forum is not for asking programming related questions.

Moderator: General Moderators

Post Reply
abrusky
Forum Newbie
Posts: 15
Joined: Wed Apr 05, 2006 2:05 pm
Location: Clearwater FL

I need a counter

Post 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.
Grim...
DevNet Resident
Posts: 1445
Joined: Tue May 18, 2004 5:32 am
Location: London, UK

Post by Grim... »

Using PHP?

Maybe you could use mktime() - $time_you_started, divide the result by 60 then multiply by 297.
abrusky
Forum Newbie
Posts: 15
Joined: Wed Apr 05, 2006 2:05 pm
Location: Clearwater FL

Post 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
User avatar
feyd
Neighborhood Spidermoddy
Posts: 31559
Joined: Mon Mar 29, 2004 3:24 pm
Location: Bothell, Washington, USA

Post by feyd »

If you want the on page display to change, it's not possible with PHP alone.
abrusky
Forum Newbie
Posts: 15
Joined: Wed Apr 05, 2006 2:05 pm
Location: Clearwater FL

Post by abrusky »

to have it constantly rolling would I need flash?
User avatar
feyd
Neighborhood Spidermoddy
Posts: 31559
Joined: Mon Mar 29, 2004 3:24 pm
Location: Bothell, Washington, USA

Post by feyd »

Flash, Javascript, something client-side.
abrusky
Forum Newbie
Posts: 15
Joined: Wed Apr 05, 2006 2:05 pm
Location: Clearwater FL

Post by abrusky »

I see. Thanks
Grim...
DevNet Resident
Posts: 1445
Joined: Tue May 18, 2004 5:32 am
Location: London, UK

Post by Grim... »

Javascript would probably be the easiest implimentation anyway.
Post Reply