Query exception: 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 'AND (img_type='1' OR img_type='2' OR img_type='9') AND websiteid = ORDER B' at line 3