Fatal error: Uncaught exception 'Exception' with message 'DB. Error in query. 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 city_id=11' at line 1( select amount from category_amount where category_id= and city_id=11 )' in /home/ftpaccess/adresa.rf/www/class/ConnectionClass.php:35 Stack trace: #0 /home/ftpaccess/adresa.rf/www/class/CategoryClass.php(502): ConnectionClass->get('select amount f...') #1 /home/ftpaccess/adresa.rf/www/category.php(66): CategoryClass->find_amount_by_url_db('JavaScript:void...', '\xD0\xBD\xD0\xBE\xD0\xB2\xD0\xBE\xD1\x81\xD0\xB8\xD0\xB1\xD0...') #2 {main} thrown in /home/ftpaccess/adresa.rf/www/class/ConnectionClass.php on line 35