php handles the array returned by mysql_fetch_assoc instead of foreach echo
- 2020-05-05 11:02:50
- OfStack
$id = intval($_GET['id']);
$row = $db->getResult($db->query("select * from ".$t."product where id=$id;"));
$rows = $row[0];// To deal with mysql_fetch_assoc The returned array Don't have to foreach----echo !