From 466fdd60ed378d4cd39e04cef5077d2d5daceb64 Mon Sep 17 00:00:00 2001 From: Frankie B Date: Thu, 25 May 2023 20:12:25 +0100 Subject: Disable guestbook submission --- guestbook/index.php | 22 +++------------------- 1 file changed, 3 insertions(+), 19 deletions(-) diff --git a/guestbook/index.php b/guestbook/index.php index c1f0760..1bd827d 100755 --- a/guestbook/index.php +++ b/guestbook/index.php @@ -1,4 +1,4 @@ - + @@ -24,23 +24,7 @@ Add Entry - - - - - - - - - - - - - - - - - +
Form temporarily disabled
@@ -53,7 +37,7 @@ $count = $count_query->fetch()[0]; echo '

Entries (' . $count . ' total)

'; // Prepare SELECT statement. - $select = "SELECT name, message, show_info, show_ip, ip, submitted, browser_info FROM Entries ORDER BY id DESC"; + $select = "SELECT name, message, show_info, show_ip, ip, submitted, browser_info FROM Entries ORDER BY submitted DESC"; $stmt = $db->prepare($select); // Execute statement. -- cgit v1.2.3-54-g00ecf