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