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 '317641,319932,334757,325491,332207,323673,324730)' at line 1
in:
[SELECT * FROM products_list WHERE products_id in ( ,317641,319932,334757,325491,332207,323673,324730)]