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 MySQL server version for the right syntax to use near '$statement' at line 1' in /home/kindiatbfr/app/Database.php:34 Stack trace: #0 /home/kindiatbfr/app/Database.php(34): PDO->query('$statement') #1 /home/kindiatbfr/pages/home.php(5): App\Database->query('SELECT * FROM a...') #2 /home/kindiatbfr/index.php(20): require('/home/kindiatbf...') #3 {main} thrown in /home/kindiatbfr/app/Database.php on line 34