Fatal error: Uncaught mysqli_sql_exception: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'and display = 'y' and blocked = 'n'' at line 1 in /homepages/15/d189519149/htdocs/gallery.php:22
Stack trace:
#0 /homepages/15/d189519149/htdocs/gallery.php(22): mysqli_query()
#1 {main}
thrown in /homepages/15/d189519149/htdocs/gallery.php on line 22