forked from mrlan/LRR
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
parent
8fb4c89329
commit
dd46a63611
|
@ -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())
|
||||||
|
|
Loading…
Reference in New Issue