had dit al eerder gevraagd maar heb de oplossing nog niet.
Heb een formulier op de site staan dat wordt uitgevoerd door onderstaand script.
Ik ontvang in de mail wel de naam en de afzender maar niet het commentaar !
Wat is er fout in dit script ?
Bedankt Richard
<?php
// headers for the email listed below
$headers .= "from: \"" . $_POST['name'] . "\<" . $_POST['email'] . ">\n";
// your email client will show the person's email address like normal
$headers .= "Content-Type: text/html; charset=iso-8859-1\n"; // sets the mime type
$recipient = "[email protected]"; // enter YOUR email address here
$subject = "Contact From Your Website"; // this is the subject of the email
$msg = wordwrap( $msg, 1024 );
mail($recipient, $subject, stripslashes($msg), $headers); // the mail() function sends the message to you
//Once the data is entered, redirect the user to give them visual confirmation
header("location: Thanks.php);
?>