MySQL Error Occured
1064: 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 '~ROSA Rhone/our-blog-the-france and a.status != '1' and a.bargedocid not in(629,' at line 3

QUERY = select * from tblcru_bargelink a LEFT JOIN tblcru_links b on a.bargelinkid = b.linkid where bargeid =491-A~ROSA Rhone/our-blog-the-france and a.status != '1' and a.bargedocid not in(629,626,625,628,624,1146) order by a.show_order,a.bargedocid