时间:2021-07-01 10:21:17 帮助过:3人阅读
$id = intval($_GET['id']);
$row = $db->getResult($db->query("select * from ".$t."product where id=$id;"));
$rows = $row[0];//处理mysql_fetch_assoc返回来的数组 不用foreach----echo!
http://www.bkjia.com/PHPjc/323211.htmlwww.bkjia.comtruehttp://www.bkjia.com/PHPjc/323211.htmlTechArticle 代码如下:
$id = intval($_GET['id']); $row = $db-getResult($db-query("select * from ".$t."product where id=$id;")); $rows = $row[0];//处理mysql_fetch_assoc返回来...