Could not query mysql: 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 active = 1' at line 7
zapytanie: SELECT name_foto FROM ils_pl_solgar_galeria_img WHERE id_gal = AND active = 1