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(1582,1584,1588,1591,1592,1593,1600,1601,1602,1605,1607,1609,1611,)]