RE: [PHP] print <<<EOF
| From: | Boget, Chris | Date: | Tue, 07 Nov 2000 21:06:55 +0000 |
| Subject: | RE: [PHP] print <<<EOF | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-24194@lists.php.net to get a copy of this message | ||
> Is your code actually indented like that? If so, that is
> your problem. The EOF needs to be at the start of the line.
I also tried unindenting the entire block of code so that every
line sits at the beginning but still no dice. I get the same error.
:(
Also, why can it not be indented? All of my code begins at the
first tab. So if I have a function that sits in a class (which would
make the code block at least 3 tabs), I need to put the "print <<<"
block (or at least the EOF part) at the beginning of the line?
Chris