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