<BR>$id = intval($_GET['id']); <BR>$row = $db->getResult($db->query("select * from ".$t."product where id=$id;")); <BR>$rows = $row[0];//处理mysql_fetch_assoc返回来的数组 不用foreach--<div style="color:transparent">!本文来源gaodai.ma#com搞##代!^码网(</div><sup>搞gaodaima代码</sup>--echo! <BR>