经常出现这样的错误
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 'order='???é????°?????????' where blockName='???é????'' at line 1
这好像是说SQL语句语法有错误吧,但语句确实没错误啊
String sql="update block set order='"+order+"' where blockName='"+blockname+"'";
或者
String sql="insert into rearticle(articleId,reauthor,repostdate,reContent,blockName) values('"+articleId+"','"+username+"','"+repostdate+"','"+recontent+"','"+blockname+"')";
都会出现同样的错误,郁闷中...............望解..........