?

Search Help Board

PHP FAQ
PHP Articles
PHP Help
Bulletin Board

PHP Manual (NEW!)
First Time PHP'ers
Help with programming
Sql assignment help
PHP Homework Help


C# Help

?
?error...???
Author:??(---.xdsl.tiscali.nl)
Date:???02-17-04 05:42

HELLO,

I'm making my first e-mail contact form in PHP,
I make it out of a book i have.

But the problem he everytime give when i test it is:

hel me, because i don't know what it could be(i have tried a lot of different things as far as i know).

THANKS A LOT


it gives a parser error in line 39 (the first line with :

$mail_body

this is the script :

$receptient = "[email protected]";
$subject = "een vraag via internet";
$header = "From: " . $email . "\n;
$mail_body = "Het contactformulier werd op " . date("d-m-y") . "
om " . date("H:i") . " uur uitgevoerd.\n";
$mail_body .= "de volgende gegevens werden ingevoerd:\n\n";
$mail_body .= "naam: " . $name . "\n";
$mail_body .= "E-mailadres: " . $email . "\n\n";
$mail_body .= "vraag:\n";
$mail_body .= $vraag . "\n\n einde van het bericht";
mail($recepient, $subject, $mail_body, $header);
?>

?Topics Author? Date
?error...?????new
simon 02-17-04 05:42?
?Re: error...?????new
bastien 02-17-04 09:13?
?Re: error...?????new
mike... 02-19-04 05:34?
Go to Top??|??Go to Topic??|??Flat View??|??Search?
??|??
New Topic
?Reply To This Message
?Your Name:
?Your Email:
?Subject:
Email replies to this thread, to the address above.
??wrote: > > HELLO, > > I'm making my first e-mail contact form in PHP, > I make it out of a book i have. > > But the problem he everytime give when i test it is: > > hel me, because i don't know what it could be(i have tried a > lot of different things as far as i know). > > THANKS A LOT > > > it gives a parser error in line 39 (the first line with : > > $mail_body > > this is the script : > > $receptient = "[email protected]"; > $subject = "een vraag via internet"; > $header = "From: " . $email . "\n; > $mail_body = "Het contactformulier werd op " . date("d-m-y") > . " > om " . date("H:i") . " uur uitgevoerd.\n"; > $mail_body .= "de volgende gegevens werden ingevoerd:\n\n"; > $mail_body .= "naam: " . $name . "\n"; > $mail_body .= "E-mailadres: " . $email . "\n\n"; > $mail_body .= "vraag:\n"; > $mail_body .= $vraag . "\n\n einde van het bericht"; > mail($recepient, $subject, $mail_body, $header); > ?> ">??

Provided By
Phorum