PHP生成统计图
<html>
<head>
</head>
<style type="text/css">
#td{margin-bottom:200px;background:#006600;width:30px;}
</style>
<body>
<?
/**
* @author :Eggshell QQ:334192009
* @name :php生成统计图
*/
$as = array(100,210,220,260,300,320,80,70,20,15);
?>
<table width="54" height="295" border="0">
<tr valign="bottom">
<?for($i=0;$i<10;$i++){?>
<td>
<table width="41" height="152" border="0">
<tr>
<td><div id="td" style="height:<?=$as[$i]?>px;"><?=$as[$i]?></div></td>
</tr>
</table>
</td>
<?}?>
</tr>
</table>
</body>
</html>