📅  最后修改于: 2022-03-11 14:53:54.701000             🧑  作者: Mango
prepare('SELECT * FROM `product`');///select all data from database
$stmt->execute();////query execute ($stmt)
$result = $stmt->get_result();
while ($row = $result->fetch_assoc()):
?>
= $row['product_name'] ?>
= number_format($row['product_price'],2) ?>/-