Jump to content

Countdown then mysql query help.


thecard

Recommended Posts

There is no best way... well you cant actually create a countdown timer with php i think.

You can use cron jobs.

Or you can use javascript.

 

I would actually recommend javascript...

something like...

 

setInterval("func()", 10000); //run javascript func() function every 10 seconds

I won't code for you, but I will help direct you.

 

Here's a GREAT article on IFRAMEs and JavaScript

http://www.devarticles.com/c/a/JavaScript/Working-with-IFRAME-in-JavaScript/

 

Simple javascript timer

http://java-scripts.net/javascripts/Countdown-Timer.phtml

 

The reason I'm showing you these is because if someone codes this for you, you won't learn anything :) If you don't learn anything, you'll be back here asking for help with no idea what your code does. This frustrates most of us, and it may take a long time to get things fixed.

 

Learn it yourself, and you know exactly what is breaking when it does.

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.