Re[2]: [PHP] html formating trouble
| From: | Andrew Perevodchik | Date: | Fri, 14 Sep 2001 19:34:02 +0000 |
| Subject: | Re[2]: [PHP] html formating trouble | ||
| References: | 1 2 3 4 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-67404@lists.php.net to get a copy of this message | ||
AS> Oh, right, totaly forgot about here-docs :)
AS> What's the use of it anyhow? I mean, "normal"
AS> strings (double-/singlequotes) can also span
AS> multiple lines.
The only reason i see -- you don't have to escape
any quotes. You can just paste a piece of HTML and
insert variables in there without <?=...?> ;)
However in the book I'm using about PHP they
recomend not to use it. But no good reasons are
given...
--
Andrew Perevodchik
ok@naverex.kiev.ua