mirror of
https://github.com/ClaytonWWilson/FightHub.git
synced 2026-03-10 14:15:05 +00:00
Changing index.html to index.php
This commit is contained in:
23
index.php
Normal file
23
index.php
Normal file
@@ -0,0 +1,23 @@
|
||||
<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>
|
||||
Reference in New Issue
Block a user