Re: SEARCHING for an answer...
| From: | mike | Date: | Tue, 11 Sep 2007 22:52:49 +0000 |
| Subject: | Re: SEARCHING for an answer... | ||
| References: | 1 2 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-261986@lists.php.net to get a copy of this message | ||
On 9/11/07, brian <phplist@subtropolix.org> wrote:
> e: (my personal opinion) Using echo() to spit out HTML will lead to
> *much* heartache and gnashing of teeth. Put a closing PHP tag ("?>") in
> there and let the parser spit out the markup without echo().
i think this is quite opposite. i prefer echo'ing everything. it
allows me to indent the code perfectly in the right nested places. i
hate inline php/html mixes.
> or, as i said, use a template system.
a good presentation layer is always a good idea :)