处理mysql_fetch_assoc返回来的数组 不用foreach----echo!

1 $id = intval($_GET['id']);
2  $row = $db->getResult($db->query("select * from ".$t."product where id=$id;"));
3 $rows = $row[0];//处理mysql_fetch_assoc返回来的数组 不用foreach----echo!
posted on 2011-04-07 15:01  网宗  阅读(284)  评论(0编辑  收藏  举报

糗乐网-糗事|乐事|天下事