RE: [SMARTY] parsing db content
| From: | Martin Kloss | Date: | Wed, 05 Mar 2003 14:55:40 +0000 |
| Subject: | RE: [SMARTY] parsing db content | ||
| References: | 1 | Groups: | php.smarty.general |
| Request: | Send a blank email to php-smarty-general+get-8414@lists.php.net to get a copy of this message | ||
At 08:26 05.03.2003 -0600, you wrote:
One way to do it would be to eval the contents. It's simple, but you take a performance hit since everything is recompiled each time.well, the output is cached, so next time the cached template is used anyway.
A better way is probably to write a resource plugin: http://smarty.php.net/manual/en/templates.from.elsewhere.phpYeah, I will look into that, thanks. Martin. P.S. Btw. why is the reply-adress of this list always the sender, not the list? Martin Kloss Need music? http://www.selling-sound.com Like the author? Buy the book at: http://www.amazon.de/exec/obidos/ASIN/3898422194/lingmmugd Get your daily dose of Lingo at the LingoPark: http://www.lingopark.com