Jump to content

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.

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • 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.