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:[EMAIL PROTECTED]]
> Sent: Sunday, September 22, 2002 11:53 PM
> To: [EMAIL PROTECTED]
> 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.



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

Reply via email to