Ошибка: MYSQL - запрос не может быть выполнен. 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 id_cat=143 limit 1' at line 1 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 id_cat=143 limit 1' at line 1/r/nSELECT id FROM ecs_sizes_pic WHERE id_brand= AND id_cat=143 limit 1;