Update Course.php

Changed the Mysql connection names because at first we used the local server and forgot to change the details when pushing to gitHub.
SIMPLICITY_Bug-189_Course_Delete_btn
enockkays 2021-06-12 17:26:06 +08:00 committed by GitHub
parent 8fb4c89329
commit dd46a63611
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -144,7 +144,7 @@ if( $_SESSION['user_type'] == "Student")
<?php <?php
// Connect to MySQL database // Connect to MySQL database
$con = mysqli_connect("localhost","username","password","lrr"); $con = mysqli_connect("localhost", $mysql_username, $mysql_password, "lrr");
// Check connection // Check connection
if (mysqli_connect_errno()) if (mysqli_connect_errno())