mirror of
https://github.com/ClaytonWWilson/FightHub.git
synced 2025-12-15 23:18:47 +00:00
24 lines
642 B
PHP
24 lines
642 B
PHP
<html>
|
|
<head>
|
|
<title>PHP Test</title>
|
|
</head>
|
|
<body>
|
|
<?php echo '<p>Hello World</p>';
|
|
|
|
// In the variables section below, replace user and password with your own MySQL credentials as created on your server
|
|
$servername = "localhost";
|
|
$username = "fighthubuser";
|
|
$password = "cC33dC8W";
|
|
|
|
// Create MySQL connection
|
|
$conn = mysqli_connect($servername, $username, $password);
|
|
|
|
// Check connection - if it fails, output will include the error message
|
|
if (!$conn) {
|
|
die('<p>Connection failed: <p>' . mysqli_connect_error());
|
|
}
|
|
echo '<p>Connected successfully</p>';
|
|
?>
|
|
</body>
|
|
</html>
|