RE: [PHP] echo or print
| From: | Kelly Hallman | Date: | Fri, 21 Nov 2003 19:52:42 +0000 |
| Subject: | RE: [PHP] echo or print | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-170618@lists.php.net to get a copy of this message | ||
On Fri, 21 Nov 2003, Wouter van Vliet wrote:
> Point is, which of the inline printing style is preferred by you guyes. I
> tend to use <?=$Var?> a lot, since it reads easier but get into struggles
> with myself when I do that multiple times in a row.
Ultimately I think you'd want to be doing very little of any, if you're
working with more than a basic, one-page script.
Even if you are (gulp) generating your HTML output within functions, it
seems better to be returning that back to some level where there are only
a couple of echo/prints necessary..
Think output layer...
--
Kelly Hallman
// Ultrafancy