如何才能把查询出来的结果以数组的形式输出....
以下是我想要达到的结果...
$graph->xaxis->SetTickLabels(array('润安大厦','百花大厦','金梦大厦','恒丰大厦','华谊大厦','蓝鲸大厦','GG','DD','FF','HH','KK','FF','RR','TT',));
$query_1 = "select * from tbl_area";<br /> $sql_1 = mysql_query($query_1);<br /> $row_1 = mysql_fetch_array($sql_1);
while ( $row = mysql_fetch_array($sql)){echo "'".$row[areaname]."'".",";}循环出来,可结果是套在里面的时候报错....