Ошибка DB:

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 `active` = 1' at line 1

SELECT * FROM `mp_persons_items` WHERE `code` = "rechkin" AND `parent` = AND `active` = 1

/home/c50967/intellectpro.ru/www/CORE/classes/db.php