Fatal error: Uncaught exception 'Exception' with message '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 'AND id_bazy=3' at line 1' in /mysql.php:45
Stack trace:
#0 /skrypty/newsy.php(26): mysql->__construct('SELECT COUNT(*)...')
#1 /kom.php(246): news_wyswietl('??<table><tr><t...', 3, 2649)
#2 {main}
thrown in /mysql.php on line 45