From ae6079e24fb8ad164990899ed3fb8afa9fef77bc Mon Sep 17 00:00:00 2001 From: fsst Date: Wed, 4 Mar 2026 16:01:36 +0100 Subject: [PATCH] Review monitoring V1.o --- productpage.php | 49 +++++++++++++++++++++++++++++++++++++++++++------ 1 file changed, 43 insertions(+), 6 deletions(-) diff --git a/productpage.php b/productpage.php index 75e59af..ff7f009 100644 --- a/productpage.php +++ b/productpage.php @@ -221,8 +221,6 @@ $productId = isset($_GET['id']) ? (int)$_GET['id'] : 0; $shopInfo[] = $row; } - - ?>
@@ -271,9 +269,48 @@ $productId = isset($_GET['id']) ? (int)$_GET['id'] : 0; close(); ?> + + bind_param("i", $productId); + $stmt->execute(); + $result = $stmt->get_result(); + + $reviews = []; + + while ($row = $result->fetch_assoc()) { + $reviews[] = $row; + } + ?> + + +
+ + + + + +
+ + + + +
+ + + +
+

Es gibt noch keine Bewertungen.

+
+ + +
+ + + - - - - \ No newline at end of file