Created
May 12, 2016 04:24
-
-
Save mcorkum/68bd696bbd596a4aeba102b03ad3e91e to your computer and use it in GitHub Desktop.
Yup
This file contains hidden or 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
$sql = "INSERT INTO feedback (name, email, comment) VALUES ('$fn', '$em', '$comm')"; | |
if ($conn->query($sql) === TRUE) { | |
echo "New record created successfully"; | |
} else { | |
echo "Error: " . $sql . "<br>" . $conn->error; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment