revivalx — 2010-06-02T09:52:08-04:00 — #1
anyone know how to create countdown timer for auction web. the timer is more to AJAX. the dateline time for auction can be retrieve from database. anyone know how to settle this problem or there are any free download script for this problem??
starlion — 2010-06-02T09:53:31-04:00 — #2
revivalx — 2010-06-02T09:55:42-04:00 — #3
but the thing is ,it is more too PHP programming.
Is that rite?Anyone know about my problem?
starlion — 2010-06-02T11:01:10-04:00 — #4
$db = new mysqli('host','name','pass','database');
$query = $db->prepare("SELECT time FROM table WHERE id = ?");
The sum total of the PHP code needed... now try getting an AJAX call in 7 lines
slickau — 2010-06-02T20:17:03-04:00 — #5
Here's an example of a countdown timer script:
Keep in mind that the date/time that you return from the server may be a different timezone to the users date/time so you will need to factor in this.