Re: print <<<EOF
| From: | Paul Mullen | Date: | Wed, 29 Nov 2000 11:32:52 +0000 |
| Subject: | Re: print <<<EOF | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-27801@lists.php.net to get a copy of this message | ||
>Make sure you don't have any spaces or anything after the EOF on the
>'print <<<EOF' line, and, oddly enough, *nothing* after the semicolon
>on the *last* line. No spaces, no comments, nothing.
That does it for me!! I've been watching this thread closely as I, too,
have been experiencing nothing but difficulties attempting to use the
'here print' construct. My problems were solved after reading the message
quoted above. It does seem that not only do the 'print<<<TAG' and
'TAG;'
lines have to be completely flush left (first characters on their
respective lines), but there also cannot be anything following them on
those same lines (other than the linebreak). Finally! It's nice to have
this one figured out!!
Paul