Fatal error: Uncaught mysqli_sql_exception: 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 type = 'gift' AND idpost = 9323' at line 1 in /var/www/oavprhtw/data/www/life-and-love.ru/account/gifts/inc/my_gift.php:12 Stack trace: #0 /var/www/oavprhtw/data/www/life-and-love.ru/account/gifts/inc/my_gift.php(12): mysqli->query('UPDATE notifica...') #1 /var/www/oavprhtw/data/www/life-and-love.ru/account/gifts/index.php(17): include_once('/var/www/oavprh...') #2 {main} thrown in /var/www/oavprhtw/data/www/life-and-love.ru/account/gifts/inc/my_gift.php on line 12