0

Hi,
I need to display the countdown clock in my bidding site.The same countdown needs to be displayed when any user visits the site.Help??
Thanks in advance

3
Contributors
8
Replies
9
Views
8 Years
Discussion Span
Last Post by Josh Connerty
0

This is then in the wrong section. You need to look for JavaScript.

PHP is server-side so it'd be useless for what you are trying to acheive.

I will have a look and see what I can come up with.

0

Does it need to change without the page refreshing or not?

Assuming that, without he would need AJAX? with PHP?

AJAX - He would have to pull the value on a constant basis using what paramter you reckon?

PHP - Just everytime refresh call the date() function in php.

Something like that sound right?

0

The countdown should go on even if you have not visited the site.The same countdown is displayed no matter anyone visits the site from anywhere

0

Or JS and it takes a timstamp and minuses 1 second from it every seccond :P Same basis just doesn't need to pass to the PHP document.

This topic has been dead for over six months. Start a new discussion instead.
Have something to contribute to this discussion? Please be thoughtful, detailed and courteous, and be sure to adhere to our posting rules.