RE: [PHP] Help with mail...
| From: | John Holmes | Date: | Mon, 23 Sep 2002 09:15:12 +0000 |
| Subject: | RE: [PHP] Help with mail... | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-117250@lists.php.net to get a copy of this message | ||
It's just part of the rules. Variables are not evaluated when they are
between single quotes, they are between double quotes.
Echo 'This is $var';
Will output that string, literally.
Echo "This is $var";
Will take the value of $var, if any, and place it in the string.
---John Holmes...
> -----Original Message-----
> From: Chuck PUP Payne [mailto:payne@magidesign.com]
> Sent: Sunday, September 22, 2002 11:53 PM
> To: holmes072000@charter.net
> Cc: PHP General
> Subject: Re: [PHP] Help with mail...
>
> Ok, that work. Why does the ' (quote) not make it work is it because
it's
> an
> array? Any thanks John that got it work.