所以说我有一个来自查询的关联数组:
$product_details = mysqli_fetch_assoc($db->query("SELECT * FROM business INNER JOIN products USING (v_id) WHERE products.v_id = '$v_id'"));
使用值:
array(4) {
["v_id"]=> string(2) "13"
["p_name"]=> string(6) "Cersei"
["p_photo"]=> string(19) "/images/jkjbskh.jpg"
["p_type"]=> string(7) "Fashion"
}
假设有5行,如何填充html列表以便捕获所有行