,jg,jb,djj,cs,lb,gb,111111dfdfdYou have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'limit2 0,8' 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,jg,jb,cs,lb,gb,pp,djj,zdjg,ftitle,sp from ***_ecms_chanpin where classid='8' and (jg like '%|1|%' and jb like '%|15|%' and djj like '%|2|%' and cs like '%|6|%') and gb="542" and gb in("536,542,537,538,539,540,541,543,544,545,567,549,548,547,546,674,675,560,566,565,564,563,562,561,550,559,558,557,556,555,554,553,552,551,670,671,672") order by istop desc,newstime DESC limit2 0,8