Newsletter
Go back..."; } else { $select = "SELECT * FROM newsletter WHERE email='$email'"; $query = mysql_query($select); $list = mysql_fetch_object($query); if ($status == "1") { if ($list->email != "") { echo "This adress has already signed up to the newsletter! Go back..."; } else { $insert = "INSERT INTO newsletter (id, email, ip) VALUES ('', '$email', '$REMOTE_ADDR')"; $query = mysql_query($insert); echo "Your e-mail adress has been added to the database! The next newsletter will be mailed to you too! Go back..."; } } if ($status == "0") { if ($list->email != "") { $delete = "DELETE FROM newsletter WHERE email='$email'"; $query = mysql_query($delete); echo "Your e-mail adress has been succesfully deleten from our database! Go back..."; } else { echo "This adress isn't in our database so it can't be deleten! Go back..."; } } } } else { echo "Enter your e-mail adress here and select Subcribe or Unsubscribe. Then click Send!"; echo ""; } ?>


