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(1797,1798,1800,1801,1837,1838,1839,1840,1841,1842,1843,1844,1845,)]