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

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

@@ -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();