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

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to