mirror of
https://github.com/ClaytonWWilson/FightHub.git
synced 2026-03-10 14:15:05 +00:00
Merge branch 'master' into Tristan_submit.php
This commit is contained in:
34
submit.php
Normal file
34
submit.php
Normal file
@@ -0,0 +1,34 @@
|
||||
<html>
|
||||
<head>
|
||||
<title>FightHub - Upload</title>
|
||||
<link rel="stylesheet" href="main.css">
|
||||
<script src="scripts/main.js"></script>
|
||||
</head>
|
||||
|
||||
<body>
|
||||
<?php
|
||||
$servername = "localhost";
|
||||
$username = "fighthubuser";
|
||||
$password = "cC33dC8W";
|
||||
|
||||
$conn = new mysqli($servername, $username, $password);
|
||||
|
||||
if($conn->connect_error) {
|
||||
die("Connection failed: " . $conn->connect_error);
|
||||
}
|
||||
|
||||
$url = $_GET['url'];
|
||||
$name = $_GET['name'];
|
||||
$username = $_GET['username'];
|
||||
$description = $_GET['description'];
|
||||
$event_date = $_GET['date'];
|
||||
$length = $_GET['length'];
|
||||
$characters = $_GET['characters'];
|
||||
$players = $_GET['players'];
|
||||
$game = $_GET['game'];
|
||||
$stage = $_GET['stage'];
|
||||
echo"<h2>hello</h2>";
|
||||
echo $game;
|
||||
?>
|
||||
</body>
|
||||
</html>
|
||||
Reference in New Issue
Block a user