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'])) {