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='2532' and (zpmc like '%2009-肖像之二十七%') order by desc limit 0,24