Ошибка в запросе SELECT SQL_CACHE DISTINCT brand FROM site_catalogs_tovars WHERE category_id IN (3587,3506,3487,3514,5291,5292,3605,5293,5294,5295,5296,3492,5297,5298,5299,5300,3503,3488,5301,5302) 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 (3587,3506,3487,3' 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 (3587,3506,3487,3' at line 1