This commit is contained in:
2018-06-15 04:00:30 +08:00
parent 288a109714
commit fb9da374d4
3 changed files with 4 additions and 4 deletions

View File

@@ -8,7 +8,7 @@
$m = floor($sec/60);
$s = floor($sec%60);
//link to mysql
$con=mysqli_connect("localhost","buptStudent","buptStudentlx","buptStudentdb");
$con=mysqli_connect("172.27.16.2:3306","buptStudent","root","lxo329123456");
if (!$con){die('Could not connect: '.mysql_error());}
//mysql_select_db("my_db_test", $con);
//name & student_id