Thank you!
[insert_php]$email = $_POST[’email’];
$dbhost = “localhost”;
$dbuser = “speakdutch_sd”;
$dbpass = “9Iq7S5el”;
$dbdb = “speakdutch_sd”;
$con = mysqli_connect($dbhost, $dbuser, $dbpass, $dbdb);
if ($mysqli->connect_error) {
die(‘Connect Error: ‘ . $mysqli->connect_error);
}
$sql=”INSERT INTO emails (email)
VALUES
(‘$_POST[email]’)”;
if (!mysqli_query($con,$sql))
{
die(‘Error: ‘ . mysqli_error($con));
}
mysqli_close($con);
?>
Thank you so much for your interest in SpeakDutch.nl. We’ll drop you a line as soon as we’ve updated our course material! For now, check out some key phrases or useful words.
Best, Team SpeakDutch.nl