Re: [SMARTY] parsing db content
| From: | Martin Kloss | Date: | Wed, 05 Mar 2003 14:52:41 +0000 |
| Subject: | Re: [SMARTY] parsing db content | ||
| Groups: | php.smarty.general | ||
| Request: | Send a blank email to php-smarty-general+get-8413@lists.php.net to get a copy of this message | ||
At 15:16 05.03.2003 +0100, you wrote:
2. (better) write a resource handler for your database (see http://smarty.php.net/manual/en/plugins.resources.php ) then you can access your content like a template and do things like $smarty->fetch('content:id123') or {include file="content:$id"}thanks, that looks promising, I will look into that. Martin. 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