<?
include("commonfile.php");
$start = date("Y-m-d H:i:s");
$end = $_POST['date']." ".$_POST['time'];
if(isset($_POST['productid']) && $_POST['productid']!=""){
$productid = $_POST['productid'];
$expdata = getdata("SELECT expire_date,expire_time from tbl_listing_master WHERE listingid=".$productid." AND currentstatus=0");
$time_rs = mysql_fetch_array($expdata);
$expdate = $time_rs[0];
$exptime = $time_rs[1];
$end = $expdate." ".$exptime;
}
$n = array("expdate" => $end);
echo json_encode($n);
?>
就此拉开出现楠楠是倒计时,我使用 http://keith-wood.name/countdown.html 倒计时的jQuery V1.6.0的版本。我的时间倒计时脚本在谷歌浏览器工作正常,但它与在其他浏览器
请,提高文字。很难理解你的问题,没有更多的信息和PHP的第一行。显示更多的代码。 –
您需要向您展示JavaScript和HTML –
如果问题是浏览器特定的,那么我们可能会希望看到您生成的任何客户端输出,而不是服务器端代码生成它。 – Chris