View Single Post
  #1 (permalink)  
Old 11-10-09, 09:28 PM
dariuc dariuc is offline
New Member
 
Join Date: Nov 2009
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts
Thumbs up making a countdown timer

I've tried to think of a few possible ways to accomplish what i need to do. so i'll outline what im aiming for really quickly.

I'd like to have a Timer display on the page

for example
1:25
and five seconds later it would read
1:20

my plan for doing this is using a bit of ajax along with my PHP.

my question is , is there any other way to do this?

also i was toying around with writing some self refreshing code..

aka. instead of it counting down by 1 second increments every 5 secs it would redisplay.

how would i go about doing that?

I get the concept of date() but i'm at a loss to using it to do what i want so any help would be appreciated. thanks!!
Reply With Quote