Re: [SMARTY] Variable containing a template...

From: Date: Tue, 25 Mar 2003 23:48:01 +0000
Subject: Re: [SMARTY] Variable containing a template...
References: 1  Groups: php.smarty.general 
Request: Send a blank email to php-smarty-general+get-8908@lists.php.net to get a copy of this message
On Tuesday 25 March 2003 23:27, Nicolai Rasmussen wrote: > I have a variable containing a template, but I cannot figure out how to get > it parsed and displayed - do I really have to write a resource plug-in ? http://smarty.php.net/manual/en/language.function.eval.php You can use the eval function in a template to display it. Keep in mind that the code parsed with eval doesn't compile, so you will have some performance overhead. Manfred

« previous php.smarty.general (#8908) next »