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

@@ -118,7 +118,7 @@ if($_SESSION[Student_ID] != ""){
</div>
<?php
//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);
$p = 20;