Re: [PHP] Joining fixed text to a SUBJECT variable

[email protected] (Jim Lucas)
Newsgroups php.general
Message-ID <[email protected]>
On 3/2/2013 11:56 AM, tamouse mailing lists wrote:
> Ah, crikey, syntax error!!
>
>
>> $Body <<ENDOFMAIL
>
> should be:
>
> $Body = <<ENDOFMAIL
>
> assignment operator necessary!!
>

AND...  it should have 3 <<< instead of 2 <<

http://www.php.net/manual/en/language.types.string.php \
	#language.types.string.syntax.heredoc

--
Jim Lucas
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.