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(1317,1318,1322,1324,1328,1330,1331,1333,1335,1337,1339,1340,1343,)]