Re: Template Question
| From: | Stephan Fiedler | Date: | Fri, 13 Aug 2004 15:32:15 +0000 |
| Subject: | Re: Template Question | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-193707@lists.php.net to get a copy of this message | ||
Hi Jonathan,
Jonathan Hadddad wrote:
[code in a template]Think you're right this IS a problem. Use Templates to seperate code from the ouput 'layer'. If you still have code in your template, maybe it's bad design. why don't you simply add some more variables to your template and tell the template-class, what values to fill there? anyway, maybe eval() is your friend, but then you have to slightliy modify the template, methinks. Ste'dogmatically using templates to seperate code from output'phan