From 61fb2ee229fbfa11d1fd2ada03515a86dd2d35a6 Mon Sep 17 00:00:00 2001 From: fabian Date: Wed, 21 Jan 2026 14:53:50 +0000 Subject: [PATCH] update --- account.php | 0 header.php | 2 + index.php | 169 +--------------------------------------------------- navbar.php | 2 +- 4 files changed, 4 insertions(+), 169 deletions(-) delete mode 100755 account.php create mode 100644 header.php mode change 100755 => 100644 index.php diff --git a/account.php b/account.php deleted file mode 100755 index e69de29..0000000 diff --git a/header.php b/header.php new file mode 100644 index 0000000..6301e64 --- /dev/null +++ b/header.php @@ -0,0 +1,2 @@ +
+ \ No newline at end of file diff --git a/index.php b/index.php old mode 100755 new mode 100644 index da215a1..03e1405 --- a/index.php +++ b/index.php @@ -1,169 +1,2 @@ - - - - -Preisvergleich – Demo - - - - - - - - - - - - - - - -

💻 Preisvergleich – Beispielanwendung

- - - -
-Kategorie: - - -Max Preis (€): - - - -
- - 0) { - $sql .= " AND p.categoryID = ?"; - $params[] = $categoryID; - $types .= "i"; -} - -if ($maxPrice > 0) { - $sql .= " AND (o.price + o.shippingCost) <= ?"; - $params[] = $maxPrice; - $types .= "d"; -} - -$sql .= " GROUP BY p.productID ORDER BY bestPrice ASC"; - -$stmt = mysqli_prepare($con, $sql); -if ($params) { - mysqli_stmt_bind_param($stmt, $types, ...$params); -} -mysqli_stmt_execute($stmt); -$result = mysqli_stmt_get_result($stmt); - -// ====================================== -// Ausgabe -while ($p = mysqli_fetch_assoc($result)): -?> -
-
- Kategorie:
- 💰 Ab € - -
- Specs:
- "; - } - ?> -
- -
- Angebote:
- "; - } - ?> -
-
- - - - - - +echo "Test123"; \ No newline at end of file diff --git a/navbar.php b/navbar.php index 3e4156c..e129fa8 100755 --- a/navbar.php +++ b/navbar.php @@ -10,7 +10,7 @@ $currentPage = basename($_SERVER['PHP_SELF']); Wunschliste
  • - Wahrenkorb + Warenkorb
  • Account