select * from partners where visibilyty='Yes' and ua∂ition_id=0_name<>'' and ua∂ition_id=0_logo_src<>'' order by subid

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 'ition_id=0_name<>'' and ua∂ition_id=0_logo_src<>'' order by subid' at line 1