修复登录页问题,添加论坛表情
This commit is contained in:
@@ -41,7 +41,8 @@
|
||||
try{con=DriverManager.getConnection("jdbc:mysql://localhost/db_bbs?useUnicode=true&characterEncoding=utf-8","root","");
|
||||
sql=con.createStatement();
|
||||
String text="insert into comment(subid,comment,time,username) values('"+k6+"','"+k5+"',now(),'"+k7+"')";
|
||||
|
||||
String updatesend = "update send set updatetime = now() where id = '"+k6+"'";
|
||||
sql.executeUpdate(updatesend);
|
||||
sql.executeUpdate(text);
|
||||
sql.close();
|
||||
con.close();
|
||||
|
||||
Reference in New Issue
Block a user