SQL: SELECT smal_image FROM picture as pic Left join galerie as gal on gal.id=pic.db_obj_id where gal.unitati_id= and pic.db_obj_class="Galerie" LIMIT 0,1
ERRORNO: 1064
ERRORSQL: 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 pic.db_obj_class="Galerie" LIMIT 0,1' at line 1