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
Fatal error: Uncaught Error: Call to a member function fetch_array() on bool in /var/www/sakhsnabservice/data/www/sakhsnabservice.ru/code/catalog.php:63 Stack trace: #0 /var/www/sakhsnabservice/data/www/sakhsnabservice.ru/code/catalog.php(38): cat() #1 /var/www/sakhsnabservice/data/www/sakhsnabservice.ru/code/pages.php(9): catalog() #2 /var/www/sakhsnabservice/data/www/sakhsnabservice.ru/main.php(51): pages() #3 /var/www/sakhsnabservice/data/www/sakhsnabservice.ru/index.php(6): require_once('/var/www/sakhsn...') #4 {main} thrown in /var/www/sakhsnabservice/data/www/sakhsnabservice.ru/code/catalog.php on line 63