Re: [SMARTY] Dynamic Template Inclusion from PHP Class
[email protected] (Max Schwanekamp) Wed, 06 Dec 2006 13:22:21 -0800
| Newsgroups | php.smarty.general |
|---|---|
| Message-ID | <[email protected]> |
Donald Organ wrote:
> Is there away to assign a template to a variable?
>
$myvar = $smarty->fetch('sometemplate.tpl');
http://smarty.php.net/manual/en/api.fetch.php
--
Max Schwanekamp
NeptuneWebworks.com
541-517-9064