select * from partners where visibilyty='Yes' and ∂ition_id=1_name<>'' and ∂ition_id=1_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=1_name<>'' and ∂ition_id=1_logo_src<>'' orde' at line 1