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 /var/www/fre745/data/www/coderam.dev/app/cat/view.php:25
Stack trace:
#0 /var/www/fre745/data/www/coderam.dev/app/cat/view.php(25): PDOStatement->execute(Array)
#1 /var/www/fre745/data/www/coderam.dev/index.php(20): require_once('/var/www/fre745...')
#2 {main}
thrown in /var/www/fre745/data/www/coderam.dev/app/cat/view.php on line 25