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 '-1000' at line 1 in C:\xampp\htdocs\Plan\view_db.php:35 Stack trace: #0 C:\xampp\htdocs\Plan\view_db.php(35): mysqli->query('SELECT * FROM d...') #1 {main} thrown in C:\xampp\htdocs\Plan\view_db.php on line 35