Ошибка: You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'AND `lang` = 'ru' LIMIT 1' at line 1 В запросе: SELECT `name` FROM `districts_names` WHERE `id` = AND `lang` = 'ru' LIMIT 1