Re: tag content
| From: | Lars Torben Wilson | Date: | Sat, 11 Nov 2000 10:45:58 +0000 |
| Subject: | Re: tag content | ||
| References: | 1 2 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-24772@lists.php.net to get a copy of this message | ||
David P. Schwartz writes:
> Rasmus Lerdorf wrote:
>
> > $bodycontent = <<<BLAH
> > <font color="red">some html here</font>
> > BLAH;
> >
>
> Does PHP3 not support this? I keep getting a parse error at the line that
> contains the <<< (I even copied the above code and pasted it into my file
> directly).
>
> -David
No, it's only in PHP 4.
http://www.php.net/manual/language.types.string.php
--
+----------------------------------------------------------------+
|Torben Wilson <torben@php.net> Netmill iTech|
|http://www.coastnet.com/~torben http://www.netmill.fi|
|Ph: 1 250 383-9735 torben@netmill.fi|
+----------------------------------------------------------------+