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 3 in /home/violetto/public_html/photo-gallery/include/dblayer/functions_mysqli.inc.php:132 Stack trace: #0 /home/violetto/public_html/photo-gallery/include/dblayer/functions_mysqli.inc.php(132): mysqli->query() #1 /home/violetto/public_html/photo-gallery/include/dblayer/functions_mysqli.inc.php(888): pwg_query() #2 /home/violetto/public_html/photo-gallery/include/functions.inc.php(1588): query2array() #3 /home/violetto/public_html/photo-gallery/picture.php(962): hash_from_query() #4 {main} thrown in /home/violetto/public_html/photo-gallery/include/dblayer/functions_mysqli.inc.php on line 132