Ошибка в запросе SELECT SQL_CACHE DISTINCT brand FROM site_catalogs_tovars WHERE category_id IN (7640,7641,7642,7643,7644,7645,7646,7647,7648,7650,7651,7652,7653,7654,7655,7656,7657,7658,7659,7660,7661,7662,7663,7664,7665,7666,7667,7668,7669,7670) ORDER BY brand ASC к базе данных 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 'DISTINCT brand FROM site_catalogs_tovars WHERE category_id IN (7640,7641,7642,7' at line 1 в get_filter
Error: 1064 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 'DISTINCT brand FROM site_catalogs_tovars WHERE category_id IN (7640,7641,7642,7' at line 1