不知道是哪里錯了!最后輸出的數(shù)據(jù)是空值來的?。?shù)據(jù)庫是存在數(shù)據(jù)的!求教哪里錯了??$res=mysql_query("selecttop1*fromlist_commentwheretid='".$tid."'orderbyiddesc");$echo='{"comment":[';while($row=mysql_fetch_row($res)){$echo.=$row["id"].'","tid":"'.$row["Tid"].'"},';}$echo=substr($echo,0,strlen($echo)-1);$echo.="]}";echo$echo;
請教mysql 查詢后的問題
素胚勾勒不出你
2019-04-19 15:59:02