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=13' at line 1( select amount from category_amount where category_id= and city_id=13 )' 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\xBF\xD0\xB5\xD1\x80\xD0\xBC\xD1\x8C') #2 {main} thrown in /home/ftpaccess/adresa.rf/www/class/ConnectionClass.php on line 35