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 '-12' at line 8 in /home/pranwytt/public_html/all-news.php:34
Stack trace:
#0 /home/pranwytt/public_html/all-news.php(34): PDO->query()
#1 {main}
thrown in /home/pranwytt/public_html/all-news.php on line 34