[請益] jpgraph 匯入資料的問題

看板PHP作者 (麻淑菸酒生)時間15年前 (2010/09/28 02:43), 編輯推噓0(000)
留言0則, 0人參與, 最新討論串1/1
$sql="select `xxxxx`from`xxxxxxx` where dates='xxxxx'" ; $result=mysql_db_query($database,$sql,$link); $indexg=count($result); for($index=0;$index<$indexg;$index++) {$arra[$index]=mysql_fetch_array($result);}; for($index=0;$index<$indexg;$index++) {$datay1[]=$arra[$index]['toluene'];} 原本這行$datay1=array(0.015,0.017,0.006); 是修改y軸的數字 我將他改成 $datay1[]=$arra[$index]['toluene']; 但圖無法顯示 請問發生什麼問題了 -- 每題一分 1.會上BBS 5.會上表特版 9.知道星野亞希 13.被正妹發過卡 2.1週1碗泡麵↑ 6.經常說:「宅」 10.讀工學院或資訊科系 14.意淫女主播 3.會上黑特版 7.常上西斯版 11.有5566或183帳號 15.bt或gb正開著 4.玩過魔獸 8.情人節沒事幹 12.幫修過電腦 16.收藏模型 0 不宅 48 很宅 12 超宅 16 -- ※ 發信站: 批踢踢實業坊(ptt.cc) ◆ From: 114.44.204.106
文章代碼(AID): #1CeENNBU (PHP)
文章代碼(AID): #1CeENNBU (PHP)