Posted by "Sonia" on 11/14/87 11:22
Hi
First some of your $_POST array variables are written like $POST['var'], you
need to change them
to $_POST['var']. Then because you are not using the dot operator in your
string variables and you
are using a associative array you must enclose the array variable in
{$arr['var']} tags!
// enclose with {...}
$msg .="Senders Name: {$_POST['senders_name']}\n";
$msg .="Senders E-MAIL: {$_POST['senders_email']}\n";
$msg .="Senders Name: {$_POST['message']}\n\n";
$mailheaders .="Reply-To: {$_POST['sender_email']}\n";
// or use the dot operator
$msg .="Senders Name: " . $_POST['senders_name'] . "\n";
$msg .="Senders E-MAIL: " . $_POST['senders_email'] . "\n";
$msg .="Senders Name: " . $_POST['message'] . "\n\n";
$mailheaders .="Reply-To: " . $_POST['sender_email'] . "\n";
Sonia
Navigation:
[Reply to this message]
|