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 ') order by newstime desc limit 0,20' at line 1
select * from ***_ecms_news where id in (865,924,1002,1156,1175,1193,1234,2008,2101,2334,2520,3215,4712,5964,6972,7018,7031,7280,7342,7355,7566,8016,3716,3731,4320,4381,5769,6287,6309,7222,501,642,725,7913,8061,8190,8254,8283,8887,9276,9355,10039,10174,10727,12067,12474,12799,13065,13071,13673,2408,14366,2545,15993,16122,16126,17126,17786,2773,18106,18212,19143,2878,20364,21151,21246,22071,23012,3271,27830,28754,32402,3619,36403,36844,44248,45049,45131,45198,45872,46021,46139,46699,46704,46920,46966,47259,47323,47381,47428,48043,48076,48125,48130,48419,48459,48489,48732,49367,49379,49500,49605,49628,49646,49917,50309,50982,51319,51697,3999,4012,52132,52566,52988,53923,54607,54648,54820,54947,55449,55555,56264,4073,56357,56367,57188,57258,57611,57772,58272,59095,59254,60245,60523,61001,61087,61177,61496,61502,62117,62886,62961,4135,63620,63683,64262,64318,64648,65517,65814,65889,66117,67037,67075,67313,67324,67428,67689,67691,68015,68155,68304,68477,68492,68506,68529,68850,69722,69736,69983,70022,70094,70536,72097,73471,73871,77576,78037,78478,79460,) order by newstime desc limit 0,20