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 ')' at line 1
in:
[select p.products_id,p.products_image,pd.products_name from products p left join products_description pd on p.products_id=pd.products_id where p.products_id in(1279,1280,1281,1282,1283,1284,1285,1286,1287,1288,1289,1290,1291,)]