Re: Whats wrong?

From: Date: Sat, 13 Sep 2003 13:07:46 +0000
Subject: Re: Whats wrong?
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-162496@lists.php.net to get a copy of this message
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" <sdp2006@juno.com> To: <php-general@lists.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?

« previous php.general (#162496) next »