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='2533' and (zpmc like '%戊辰(1988)年作-行书%') order by desc limit 0,24