Fatal error: Uncaught PDOException: 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 '-10, 10' at line 1 in /opt/lampp/htdocs/templates/default5/ch/news/news.php:29 Stack trace: #0 /opt/lampp/htdocs/templates/default5/ch/news/news.php(29): PDO->query('SELECT news.*, ...') #1 /opt/lampp/htdocs/ch/news/news.php(17): include_once('/opt/lampp/htdo...') #2 {main} thrown in /opt/lampp/htdocs/templates/default5/ch/news/news.php on line 29