Re: here document
| From: | Jeanne Pelletier | Date: | Thu, 02 Nov 2000 05:16:13 +0000 |
| Subject: | Re: here document | ||
| References: | 1 2 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-23297@lists.php.net to get a copy of this message | ||
One thing I saw in the annotated section of the manual is that the EOF;
closing has to be at the beginning of the line... no spaces, no tab. I had
a block that wouldn't work until I changed that.
Jeanne
----- Original Message -----
From: "Lars Torben Wilson" <torben@pinc.com>
To: "Jack Dempsey" <dempsejn@georgetown.edu>
Cc: <php-general@lists.php.net>
Sent: Wednesday, November 01, 2000 12:12 PM
Subject: Re: [PHP] here document
> Jack Dempsey writes:
> > anything like perl's
> > print<<EOF
> > blah blah blah
> > EOF
> >
> > ?
> > thanks
>
> Oddly, it's in the Strings section of the manual:
>
> 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|
> +----------------------------------------------------------------+
>
> --
> PHP General Mailing List (http://www.php.net/)
> To unsubscribe, e-mail: php-general-unsubscribe@lists.php.net
> For additional commands, e-mail: php-general-help@lists.php.net
> To contact the list administrators, e-mail: php-list-admin@lists.php.net
>