Re: include vs. function
| From: | (Dave Daniels) | Date: | Wed, 23 Aug 2000 13:06:54 +0000 |
| Subject: | Re: include vs. function | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-13147@lists.php.net to get a copy of this message | ||
> You may find over time that using includes is best for only containing
> code that doensn't print anything out.
I somewhat disagree with this. For non-trivial sites, there will be common
html (headers, footers, etc.) which should be included rather than copied on
every page. That way if there's a change, you just change it in one place.