Correct SQL syntax error

This commit is contained in:
floppydiskette 2023-07-19 01:59:22 +01:00
parent fe0765795a
commit 9e837642bd
Signed by: fwoppydwisk
SSH key fingerprint: SHA256:yXxSuswzElTluzXjKgvZK0bDGhTaj/XbArybRDr+Mfs

View file

@ -46,7 +46,7 @@
$entries = DB::select(' $entries = DB::select('
SELECT name, timestamp, message SELECT name, timestamp, message
FROM guestbook__entries FROM guestbook__entries
ORDER BY id DES ORDER BY id DESC
'); ');
@endphp @endphp
<h1>Entries <small>({{ count($entries) }} total)</small></h1> <h1>Entries <small>({{ count($entries) }} total)</small></h1>