Just touched it up a bit but its working:

$senderemail = $_POST['from'];
print "Thank You, $senderemail";

This should come before:
$senderemail = $_POST['from'];

not after this:
print "Thank You, $senderemail";


I'm guessing that either your form is sending $senderemail or that you are
getting via a $_GET

you have to post $from not $senderemail.

If you change the above to a $_GET this will work


We will slaughter you all! - The Iraqi (Dis)information ministers site

----- Original Message -----
From: "Stevie D Peele" <sdp2006juno.com>
To: <php-generallists.php.net>
Sent: Saturday, September 13, 2003 2:45 PM
Subject: [PHP] Whats wrong?

> Whats wrong with this
> <title><?php echo "Thank You, $senderemail"; ?></title>
> where
> $senderemail = $_POST['from'];
> It doesnt It only echos thank you.
> Why?