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 * FROM prod_kat_tab WHERE id_kat= ' in /libs/baza.php:149 Stack trace: #0 /libs/baza.php(252): baza->query('SELECT * FROM p...') #1 /inc/sklep/produkt_top.php(104): baza->q('s', 'prod_kat_tab', '', 'id_kat=') #2 /top.php(188): include('/inc/sklep/prod...') #3 /index.php(3): include('/top.php') #4 {main} thrown in /libs/baza.php on line 149