Created
July 19, 2016 22:05
-
-
Save JasperMeurs/00fa41500a00c44f19db8feee5599917 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$query = "INSERT INTO coach (firstName, lastName, email, clubName) | |
VALUES ('$_POST[firstName]', '$_POST[lastName]', '$_POST[email]', '$_POST[clubName]')"; | |
if ($conn->query($sql) === TRUE) { | |
echo "New record created successfully"; | |
} else { | |
echo "Error: " . $sql . "<br>" . $conn->error; | |
}$conn->close(); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment