From ac1c84ea5503e6a59ec35cac53af704c2dbaa597 Mon Sep 17 00:00:00 2001 From: Frankie B Date: Wed, 19 Jul 2023 01:58:32 +0100 Subject: Update table names to new format --- resources/views/pages/guestbook.blade.php | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'resources/views/pages/guestbook.blade.php') diff --git a/resources/views/pages/guestbook.blade.php b/resources/views/pages/guestbook.blade.php index 1690274..56991aa 100644 --- a/resources/views/pages/guestbook.blade.php +++ b/resources/views/pages/guestbook.blade.php @@ -43,7 +43,11 @@
@php - $entries = DB::select('SELECT name, timestamp, message FROM guestbook_entries ORDER BY id DESC'); + $entries = DB::select(' + SELECT name, timestamp, message + FROM guestbook__entries + ORDER BY id DES + '); @endphp

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

@foreach ($entries as $entry) -- cgit v1.2.3-54-g00ecf