Re: [SMARTY] Dynamic Template Inclusion from PHP Class

[email protected] (Ken Snyder) Wed, 06 Dec 2006 13:27:17 -0700
Newsgroups php.smarty.general
Message-ID <[email protected]>
Donald Organ wrote:
> Yes that is from the template side, I want to do it from the PHP side. 
> Through the smarty object.
$var = $smarty->fetch('my_template');

see: http://smarty.php.net/manual/en/api.fetch.php

--Ken