Fatal error: Uncaught mysqli_sql_exception: 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 '-1,1' at line 13 in /home/www/wr/inc/mysqli.php:72 Stack trace: #0 /home/www/wr/inc/mysqli.php(72): mysqli->query('select\n ...') #1 /home/www/wr/html/p091.php(124): my_fetch(Object(mysqli), 'select\n ...') #2 {main} thrown in /home/www/wr/inc/mysqli.php on line 72