Re: [SMARTY] parse string
| From: | Manfred Stienstra | Date: | Tue, 11 Feb 2003 10:35:00 +0000 |
| Subject: | Re: [SMARTY] parse string | ||
| References: | 1 2 3 | Groups: | php.smarty.general |
| Request: | Send a blank email to php-smarty-general+get-7633@lists.php.net to get a copy of this message | ||
On Tuesday 11 February 2003 11:07, Uroš Gruber wrote:
I mean something like this:
// (instead of) $article = getArticle($id);
$article = $smarty->fetch("db:article.tpl");
$smarty->assign('content',$article);
$smarty->fetch('test.tpl');
If you treat all your articles in the database as a template, the stuff in it
will be parsed.
Manfred