Re: [SMARTY] Dynamic Template Inclusion from PHP Class

[email protected] (Donald Organ) Wed, 06 Dec 2006 14:38:15 -0500
Newsgroups php.smarty.general
Message-ID <[email protected]>
Yes that is from the template side, I want to do it from the PHP side. 
Through the smarty object.

Ken Snyder wrote:
> Donald Organ wrote:
>> Is there away to assign a template to a variable?
>>
> {include file="my_template" assign="assign_to_var"}
>
> see http://smarty.php.net/manual/en/language.function.include.php
>
> --Ken
>