Re: Problem Stuffing Variable Value into an E-mail
| From: | Torsten Roehr | Date: | Sat, 17 Jul 2004 14:04:02 +0000 |
| Subject: | Re: Problem Stuffing Variable Value into an E-mail | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-190848@lists.php.net to get a copy of this message | ||
"Harlequin" <michael.mason@arraspeople.co.uk> wrote in message
news:20040717133229.3119.qmail@pb1.pair.com...
> I've generated a page where the user selects and completes a form. One of
> these is a free text area with the name "TXT_Question". this is used later
> as "$Question = $_Post['TXT_Question'];"
Shouldn't this be $_POST['TXT_Question'] (upper case)?
> but for some reason when I send
> this in an e-mail like so:
>
> \nUser has selected eventID:\t$EventID
> \nAnd their question is:\t$Question
>
> Nothing gets posted.
Why should it be posted? You wrote that you wanted to send the data in an
email.
>
> Any ideas...?
>
> The form is located at:
> http://www.arrasresources.co.uk/pmoclinic/
Regards, Torsten Roehr