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 '' at line 1 in /home/a9e45673/public_html/onlinepuja.com/admin_login/layouts/config.php:68 Stack trace: #0 /home/a9e45673/public_html/onlinepuja.com/admin_login/layouts/config.php(68): mysqli_query(Object(mysqli), 'SELECT * FROM p...') #1 /home/a9e45673/public_html/onlinepuja.com/details.php(45): Databases->select('photos where pI...') #2 /home/a9e45673/public_html/onlinepuja.com/cutom-url.php(15): include('/home/a9e45673/...') #3 {main} thrown in /home/a9e45673/public_html/onlinepuja.com/admin_login/layouts/config.php on line 68