Hello Dudes,
I'm very busy with a new project. I want to send people an email if they have filled in the form and send an email to the webmaster. The form is on the pagename called 'login.php' and the form is proccesed by 'mail.php'. The code looks as follows:
<?php
if($action == "new") {
echo "Bedankt voor je aanmelding! Het verzoek is de deur uit!";
mail("$emailwebmaster","my subject","$my_variables");
}
elseif($action == "accept") {
echo "You're accepted!";
mail("user@provider.com","subject","You're accepted");
mysql_query("INSERT INTO info(id,name,email)
VALUES('$id','$name','$email')"); *
}
?>
- Here it goes wrong 🙁
The variables are not there anymore 🙁
Please people help me!
With kind regards,
Erik