SELECT category_map.parent_id, category_map.img_file_name, category_map.html_page, category_data.* FROM ak_category_map category_map LEFT JOIN ak_category_data category_data ON category_map.id = category_data.category_id WHERE category_map.parent_id = '' AND category_map.id != AND category_data.language_id = 1 AND category_map.visibility = 'Y' ORDER BY category_map.order 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 'AND category_data.language_id = 1 AND category_map.visibility = 'Y' ' at line 12Ошибка запроса к серверу баз данных