Re: Heredoc question
| From: | Joel Rees | Date: | Fri, 06 Jun 2003 02:52:11 +0000 |
| Subject: | Re: Heredoc question | ||
| References: | 1 2 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-150444@lists.php.net to get a copy of this message | ||
> That's fine for that but I have several places that use if's and else's...
AFAIK, you can't do conditionals inside a here doc. But then you don't
have to build your entire output string in one here doc, either.
Hmm. Maybe you're trying to build templates?
--
Joel Rees <joel@alpsgiken.gr.jp>