INSERT into wz__arctype (reid,topid,sortrank,typename,typedir,isdefault,defaultname,issend,channeltype,tempindex,templist,temparticle,modname,namerule,namerule2,ispart,corank,description,keywords,seotitle,moresite,siteurl,sitepath,ishidden,cross,crossid,content,smalltypes) VALUES(4,4,50,'合肥','{cmspath}/anhui/Hefei',1,'index.html',1,17,'{style}/index_city.htm','{style}/list_city.htm','{style}/article_city.htm','default','{typedir}/{pinyin}.html','{typedir}/list_{tid}_{page}.html',0,0,'','','',0,'','',0,0,'0','','')
提示1064错误: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 'cross,crossid,content,smalltypes) VALUES(4,4,50,'å
提示1064错误: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 'cross,crossid,content,smalltypes) VALUES(4,4,50,'å
再执行你的insert语句
乱码和关键字
cross 是关键字
乱码问题设置编码集..
insert into table(`cross`) values('xx');