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 iduser != 0' at line 1 in /var/www/oavprhtw/data/www/life-and-love.ru/account/photo/inc/photoinfo.php:175
Stack trace:
#0 /var/www/oavprhtw/data/www/life-and-love.ru/account/photo/inc/photoinfo.php(175): mysqli->query('SELECT * FROM `...')
#1 /var/www/oavprhtw/data/www/life-and-love.ru/account/photo/index.php(88): include_once('/var/www/oavprh...')
#2 {main}
thrown in
/var/www/oavprhtw/data/www/life-and-love.ru/account/photo/inc/photoinfo.php on line
175