select * from sitenet_galleryalbums where gal_alb_id = %7Bbase%7D
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 '%7Bbase%7D' at line 1
66 C:\htdocs\classes\galleries_class.php