String sql = "select * from "+tablename+" where username = '" + name+ "' and pwd = '" + pwd+"'";
错误信息为
javax.servlet.ServletException: 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 '? 'saf'' at line 1
请高手帮忙!
错误信息为
javax.servlet.ServletException: 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 '? 'saf'' at line 1
请高手帮忙!
解决方案 »
免费领取超大流量手机卡,每月29元包185G流量+100分钟通话, 中国电信官方发货