Re: Re: echo/printing html within a function - best method
| From: | Jason Bell | Date: | Mon, 17 Sep 2001 04:39:01 +0000 |
| Subject: | Re: Re: echo/printing html within a function - best method | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-67565@lists.php.net to get a copy of this message | ||
Out of curiosity, why do you avoid having functions generate HTML? Is this
just personal preference, or is there some performance or other reason?
-Jason
----- Original Message -----
From: "Rasmus Lerdorf" <rasmus@php.net>
To: "speedboy" <speedboy@nomicrosoft.org>
Cc: <php-general@lists.php.net>
Sent: Sunday, September 16, 2001 9:32 PM
Subject: Re: [PHP] Re: echo/printing html within a function - best method
> I try to avoid having my functions generate HTML. But yes, when they do I
> use the same approach.