The forums ran from 2008-2020 and are now closed and viewable here as an archive.

Home Forums JavaScript Help with PHP and Javascript time countdown

  • This topic is empty.
Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
  • #27150

    I am tring to get a time countdown function going with php and javascript. I am very new with both, but I have gotten somethings to work. Can anyone help me out? What I am tring to get accomplished. I need the enddate to countdown in javascript.
    Here is the code I am tring to get working with javascript.
    $getClosingAuctions=mysql_query("SELECT id, enddate, itemname, bidstart, currency FROM probid_auctions WHERE
    active=1 AND closed=0 AND deleted!=1 AND listin!=’store’ ORDER BY enddate ASC LIMIT ".$layout."");
    while ($closingAuctions=mysql_fetch_array($getClosingAuc tions)) { ?>


    Do you have jQuery running? If so, you can use the jquery_countdown plugin.

    There are a lot of jquery countdown plugins, but I really like this once since it gives you multiple formats and even allows you to use images.

Viewing 2 posts - 1 through 2 (of 2 total)
  • The forum ‘JavaScript’ is closed to new topics and replies.