Hey,
Just touched it up a bit but its working:

<title>
<?php
$senderemail = $_POST['from'];
print "Thank You, $senderemail";
?>
</title>

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

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

plus

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
YourFileName.php?from=Ryan

Cheers,
-Ryan




We will slaughter you all! - The Iraqi (Dis)information ministers site
http://MrSahaf.com


----- Original Message ----- 
From: "Stevie D Peele" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
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?

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

Reply via email to