Script.php: make DB connection work.

pull/59/head
Lan Hui 2023-12-12 19:02:41 +08:00
parent 71ce1e1345
commit 12e9038dec
1 changed files with 1 additions and 1 deletions

View File

@ -35,7 +35,7 @@ include "get_mysql_credentials.php";
$con = mysqli_connect("localhost", $mysql_username, $mysql_password, "lrr"); $con = mysqli_connect("localhost", $mysql_username, $mysql_password, "lrr");
// $mysql_username, $mysql_password variable declared directly // $mysql_username, $mysql_password variable declared directly
$con= mysqli_connect($mysql_host,$mysql_username,$mysql_password,$mysql_db); // $con= mysqli_connect($mysql_host,$mysql_username,$mysql_password,$mysql_db);
//$con = mysqli_connect("localhost", "root", "", "lrr"); //$con = mysqli_connect("localhost", "root", "", "lrr");