forked from mrlan/LRR
Update Course.php
parent
aa9f47e1db
commit
d5fc7c425e
|
@ -139,7 +139,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