SELECT * FROM `channels`, `_sponsor_sites` WHERE channels.site_id = _sponsor_sites.site_id AND channels.channel_id =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 '' at line 1