Re: Template Question
| From: | John Holmes | Date: | Fri, 13 Aug 2004 12:09:37 +0000 |
| Subject: | Re: Template Question | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-193674@lists.php.net to get a copy of this message | ||
Jonathan Hadddad wrote:
if there's any PHP code in the template file, it just gets echoed to the page. is there any way to have the code between the <? ?> evaluated instead of just echoed?? I realize an include would work, but the goal is to use a single file as the template. anyone got any suggestions?eval() -- ---John Holmes... Amazon Wishlist: www.amazon.com/o/registry/3BEXC84AB3A5E/ php|architect: The Magazine for PHP Professionals – www.phparch.com