Fatal error: Uncaught mysqli_sql_exception: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near '' at line 1 in /home/public/painting.php:11 Stack trace: #0 /home/public/painting.php(11): mysqli_query(Object(mysqli), 'SELECT File, An...') #1 {main} thrown in /home/public/painting.php on line 11