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 (523,911,912,913,914,916,917,918,919,920,922,923,924,926,927,929,1111,1113,1114,1117,1118,1120,1121,1122,1123,1124,1125,1126,1127,1128,1129,1130,1244,1245,1246,1247,1248,1249,1250,1251,1252,1253,1254,1255,1256,1257,1258,1379,1380,1381,1383,1384,1385,1386,1387,1389,1392,1393,1394,1396,1397,1398,1539,1540,1541,1542,1543,1545,1546,1548,1549,1551,1552,1554,1555,1556,1557,1558,1559,1560,1561,1562,1563,1564,1565,1566,1567,1568,1570,1571,1572,1574,1575,1576,1577,1578,1799,1800,1801,1802,1803,1804,1805,1806,1807,1808,1809,1811,1812,1813,1814,1816,1818,1835,1836,1934,1935,1936,1937,1938,1939,1941,1942,1943,1944,1945,1948,1949,1950,2071,2072,2073,2074,2075,2076,2077,2078,2079,2081,2082,2083,2084,2085,2086,2088,2089,2090,2091,2092,2093,2094,2095,2096,2097,2098,2099,2100,2101,2103,2104,2105,2106,2107,2108,2109,2110,2119,2190,2351,2352,2353,2354,2355,2356,2357,2358,2359,2360,2361,2362,2363,2364,2365,2366,2368,2369,2370,2371,2372,2375,2377,2378,2379,2380,2381,2383,2384,2385,2386,2387,2388,2389,2390,2391,2392,2393,2394,2395,) order by newstime desc limit 0,20