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 '2515,2514,2500,2595,2492,2494,2504,2491,2556,2525,2541,2498,2566,2530,2569)' at line 1
in:
[select * from categories where categories_id in (,2515,2514,2500,2595,2492,2494,2504,2491,2556,2525,2541,2498,2566,2530,2569)]