From e2ce6123182ac1df5c6d09e1f0c58f4cacb88860 Mon Sep 17 00:00:00 2001 From: Marcel Peterkau Date: Mon, 26 Sep 2022 18:42:23 +0200 Subject: [PATCH] small Tweaks --- include/listgenerator.php | 2 +- index.php | 5 +++-- 2 files changed, 4 insertions(+), 3 deletions(-) diff --git a/include/listgenerator.php b/include/listgenerator.php index 3107fc3..879cb24 100644 --- a/include/listgenerator.php +++ b/include/listgenerator.php @@ -78,7 +78,7 @@ function wishlistMainBuilder($ListID)
'); - $sql = 'SELECT ID, title, description, link, image, reserved, price FROM whishes WHERE whislist = ' . $ListID; + $sql = 'SELECT ID, title, description, link, image, reserved, price FROM whishes WHERE whislist = ' . $ListID . ' ORDER BY RAND()'; $result = $conn->query($sql); if ($result !== false && $result->num_rows > 0) { diff --git a/index.php b/index.php index 58a31cd..5ee3b06 100644 --- a/index.php +++ b/index.php @@ -171,8 +171,7 @@ if (isset($_POST['reservation'])) {

Back to top

-

Album example is © Bootstrap, but please download and customize it for yourself!

-

New to Bootstrap? Visit the homepage or read our getting started guide.

+

Simple Wishlist © by Marcel Peterkau

@@ -269,6 +268,7 @@ if (isset($_POST['reservation'])) {