error in query 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 'INNER JOIN demo on demo.webid=apps.id and app_type='2' and (id=5 or id=22 o' at line 1