Hi,
I need to ask if there are any errors in this code? Also, where should this be uploaded to in file mgr.?
(page name is connect.php)
<?php
$servername = "localhost";
$username = "itisok";
$password = "pwisok";
// Create connection
$conn = mysqli_connect($servername, $username, $password;)
// Check connection
if (!$conn) {
die("Connection failed: " . mysqli_connect_error());
}
echo "Connected successfully";
?>
<html>
<head>
</head>
<body>
<h1>PHP connect to MySQL</h1>
</body>
</html>
Thanks,
LD