From 9e837642bd7974606c63851b3fc68d53afa1ce0a Mon Sep 17 00:00:00 2001 From: Frankie B Date: Wed, 19 Jul 2023 01:59:22 +0100 Subject: [PATCH] Correct SQL syntax error --- resources/views/pages/guestbook.blade.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/resources/views/pages/guestbook.blade.php b/resources/views/pages/guestbook.blade.php index 56991aa..4a6fdca 100644 --- a/resources/views/pages/guestbook.blade.php +++ b/resources/views/pages/guestbook.blade.php @@ -46,7 +46,7 @@ $entries = DB::select(' SELECT name, timestamp, message FROM guestbook__entries - ORDER BY id DES + ORDER BY id DESC '); @endphp

Entries ({{ count($entries) }} total)