Grafische beginner |
|
Sorry mensen, maar het is weer zover.(mr. prutser is weer bezig)
<?php
$your_email = "dutchalien@xclan-beware.nl";
if($_POST['submit']
{
$name = $_POST['name'];
$subject = $_POST['subject'];
$email = $_POST['email'];
$message = $_POST['message'];
if(empty($name))
{
echo("Je hebt je naam niet ingevuld! Je email is niet verzonden.<br>You did not fill in your name! Your email has not been send!");
}
elseif(empty(subject))
{
echo("Je hebt geen onderwerp ingevuld! Je email is niet verzonden!<br>You did no fill in a subject! Your email has not been send!");
}
elseif(empty($email))
{
echo("Je hebt je email adres niet ingevuld! Je email is niet verzonden!<br>You did not fill in your email address! Your email has not been send!");
}
elseif(empty($message))
{
echo("Je hebt geen bericht ingevuld! Je email is niet verzonden!<br>You did not fill in a message! Your email has not been send!");
}
else
{
mail("$your_email","$subject","$message","\n Verzonden door de mailform. \n verzonden door: $name \n zijn email: $email");
mail("$email","(Xbox)|BEWARE|","This auto message was send by www.xclan-beware.nl. We will respond on your email as soon as possible.");
echo("Bedankt, je bericht is verzonden.<br>Thank you, your message has been send.");
}
}
?>
<?php $your_email = "dutchalien@xclan-beware.nl"; if($_POST['submit'] { $name = $_POST['name']; $subject = $_POST['subject']; $email = $_POST['email']; $message = $_POST['message']; { echo("Je hebt je naam niet ingevuld! Je email is niet verzonden.<br>You did not fill in your name! Your email has not been send!"); } { echo("Je hebt geen onderwerp ingevuld! Je email is niet verzonden!<br>You did no fill in a subject! Your email has not been send!"); } { echo("Je hebt je email adres niet ingevuld! Je email is niet verzonden!<br>You did not fill in your email address! Your email has not been send!"); } { echo("Je hebt geen bericht ingevuld! Je email is niet verzonden!<br>You did not fill in a message! Your email has not been send!"); } else { mail("$your_email","$subject","$message","\n Verzonden door de mailform. \n verzonden door: $name \n zijn email: $email"); mail("$email","(Xbox)|BEWARE|","This auto message was send by www.xclan-beware.nl. We will respond on your email as soon as possible."); echo("Bedankt, je bericht is verzonden.<br>Thank you, your message has been send."); } } ?>
Citaat: Parse error: parse error, unexpected
hij zegt dat hij in de buurt van de eerste $name variable zit.:'( :'(
bij voorbaat dank.
|