控制台信息:
com.mysql.jdbc.exceptions.jdbc4.MySQLSyntaxErrorException: 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 'topictable where t_id=25' at line 1
你的from写错了,你写成了form当然会出错啊。
如果有帮助,希望结帖
"id='"+idi+"'";
还有单引号没写