Hello, I am getting an error
<?Php
include 'connect.php';
$userName = $_POST['Username'];
$firstname = $_POST['First Name'];
$Surname = $_Post['Surname'];
$email = $_POST['Email Address'];
$password = $_POST['Password'];
$gender = $_POST['Gender'];
$dob = $_POST['DOB'];
$query_insertintotable = "INSERT INTO User (username,Password,First Name,Surname, Gender, DOB, Email Address)
VALUES ('$userName','$password','$firstname','$userName', '$gender', '$dob', '$email)";
$query = $dbhandle->prepare( $query_insertintotable );
$query->execute();
?>
Am I doing anything wrong?
Thanks