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)) { ?>