<?php
require_once 'conn.php';
$sanma=array("111","112","113","114","115","116","122","123","124","125","126","133","134","135","136","144","145","146","155","156","166","222","223","224","225","226","233","234","235","236","244","245","246","255","256","266","333","334","335","336","344","345","346","355","356","366","444","445","446","455","456","466","555","556","566","666");
foreach( $sanma as $num ) {
$result = mysql_query("SELECT * FROM kjnum where zuxuan='$num'");
while($row = mysql_fetch_array($result))
{
echo $num."***".$row['id'] . "</br>";
}
}
?>
以上是一段php代码 ,假如执行结果为:
111***49
111***113
111***587
111***945
111***953
111***1097
111***1169
我想把这个结果生成为一张图片,并保存在服务器指定目录,应该怎么做?求大神指导
谢谢,,我看看 不懂我在追问你