修复登录页问题,添加论坛表情

This commit is contained in:
FJY
2017-11-30 17:24:00 +08:00
parent 5e87ddf1ba
commit 40483bae6a
22 changed files with 788 additions and 198 deletions

View File

@@ -38,7 +38,7 @@
con = DriverManager.getConnection(
"jdbc:mysql://localhost/db_bbs?useUnicode=true&characterEncoding=utf-8", "root", "");
sql = con.createStatement();
String text = "insert into send(subject,content,time,username) values('" + k2 + "','" + k3 + "',now(),'" + k4 + "')";
String text = "insert into send(subject,content,time,username,updatetime) values('" + k2 + "','" + k3 + "',now(),'" + k4 + "',now())";
sql.executeUpdate(text);
sql.close();
con.close();