My PHP registration form does nothing when i click sign up
I am new to php and and my sql. I am trying to create a registration form for users of my website. I was able to successfully create a send message form, but this time i want to creat a registration form, i am stuck, my form does nothing when i enter the required data. I have already created my Database using my sql in my Hostgator server. I also created users table withh all the columns required.
Here is my HTML
<!DOCTYPE html>
<html>
<head>
<title> User Registration in PHP </title>
<link rel="stylesheet" type="text/css" href="file:///C|/wamp64/www/useraccounts/css/bootstrap.min.css">
</head>
<body>
<div>
<form action="file:///C|/wamp64/www/useraccounts/Registration.php" method="post">
<div class="container">
<div class="row">
<div class="col-sm-3">
<h1> Registration </h1>
<p> Fill up the Form with Correct values</p>
<hr class="mb-3">
<label for="firstname"><b>First Name</b></label>
<input class="form-control" type="text" name="firstname" required>
<label for="lastname"><b>Last Name</b></label>
<input class="form-control" type="text" name="lastname" required>
<label for="email"><b>Email Address</b></label>
<input class="form-control" type="email" name="email" required>
<label for="phonenumber"><b>Phone Number</b></label>
<input class="form-control" type="text" name="phonenumber" required>
<label for="password"><b>Password</b></label>
<input class="form-control" type="password" name="password" required>
<hr class="mb-3">
<input class="btn btn-primary" type="submit" name="create" value="Sign Up">
</div>
</div>
</div>
</form>
</div>
</body>
</html>
HERE is my php
<?php
if(isset($_POST['create'])){
$firstname = $_POST['firstname'];
$lastname = $_POST['lastname'];
$email = $_POST['email'];
$phonenumer = $_POST['phonenumber'];
$password = $_POST['password'];
echo $firstname . " " . $lastname ." " . $email . " " . $phonenumer . " " . $password;
}
?>
