修复登录页问题,添加论坛表情
This commit is contained in:
@@ -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();
|
||||
|
||||
Reference in New Issue
Block a user