Fatal error: Uncaught exception 'DatabaseException' with message 'SQL query failed with error #1064 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
SQL: SELECT id,nazwa FROM galeria_kat WHERE typ=' in /home/fotosyn/domains/fotosynteza.com.pl/public_html/libs/database.php:55
Stack trace:
#0 /home/fotosyn/domains/fotosynteza.com.pl/public_html/galeria.php(4): database->query('SELECT id,nazwa...')
#1 /home/fotosyn/domains/fotosynteza.com.pl/public_html/index.php(160): include('/home/fotosyn/d...')
#2 {main}
thrown in /home/fotosyn/domains/fotosynteza.com.pl/public_html/libs/database.php on line 55