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 РІв‚' at line 1