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 'desc limit 0,24' at line 1
select id,classid,ttid,onclick,plnum,totaldown,newspath,filename,userid,username,firsttitle,isgood,ispic,istop,isqf,ismember,isurl,truetime,lastdotime,havehtml,groupid,userfen,titlefont,titleurl,stb,fstb,restb,keyboard,eckuid,title,titlepic,newstime,nydt,zpmc,zpzz,zpcz,zpgg,zplb,zpnd,zpjg,zpzt,ztid,jjr,lxgmlj,bz from ***_ecms_msg where classid in (2532,2533,2534,2535,2536,2548,2569) order by desc limit 0,24