作者s9234140 (麻淑菸酒生)
看板PHP
标题[请益] jpgraph 汇入资料的问题
时间Tue Sep 28 02:43:27 2010
$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 不宅 4 宅 8 很宅 12 超宅 16
--
※ 发信站: 批踢踢实业坊(ptt.cc)
◆ From: 114.44.204.106