Fatal error: Uncaught exception 'PDOException' with message 'SQLSTATE[42000]: Syntax error or access violation: 1064 You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near ':Belajar-dan-Bertumbuh-Menjadi-Jiwa-yang-Tangguh-' at line 1' in /home/k5223925/public_html/views/detail.php:3
Stack trace:
#0 /home/k5223925/public_html/views/detail.php(3): PDO->query('select * from m...')
#1 /home/k5223925/public_html/controllers/home.controller.php(22): require_once('/home/k5223925/...')
#2 /home/k5223925/public_html/routes.php(12): homeController->shownewsdetail()
#3 /home/k5223925/public_html/views/layout.php(10): routes->call('home', 'shownewsdetail', Object(PDO))
#4 /home/k5223925/public_html/index.php(21): require_once('/home/k5223925/...')
#5 {main}
thrown in /home/k5223925/public_html/views/detail.php on line 3