$rows = array(); while($r = mysql_fetch_assoc($sth)) { $rows['root_name'] = $r; } print json_encode($rows);. 这应该够了吧!
確定! 回上一頁