aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFrankie B <git@diskfloppy.me>2023-07-19 01:59:22 +0100
committerFrankie B <git@diskfloppy.me>2023-07-19 01:59:22 +0100
commit9e837642bd7974606c63851b3fc68d53afa1ce0a (patch)
tree55ae8ee053b0a4574de77f4b0998a8c013708c99
parentfe0765795aae52df0edf064ce4add55d6edb0ed9 (diff)
Correct SQL syntax error
-rw-r--r--resources/views/pages/guestbook.blade.php2
1 files changed, 1 insertions, 1 deletions
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
<h1>Entries <small>({{ count($entries) }} total)</small></h1>