Jump to content

Countdown Timer


Goose87

Recommended Posts

Hey guys,

 

I have the php time() function to display a time, i then do time()+300 to add 5 minutes.  I then minus this value from the time() value to get a number like 230 or so.

 

I then display that to the user in the form:

 

You have 3 minutes 50 seconds until....

 

At the moment it's just a standard message, but I want it to auto click down toward 0 by itself.

 

I have NO knowledge of javascript, so if someone could be as kind to give me as many hints as possible, i'd greatly appreciate it.

 

Thanks :)

Link to comment
https://forums.phpfreaks.com/topic/108271-countdown-timer/
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.