Ошибка 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` = "shestakov" AND `parent` = AND `active` = 1

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