Re: [SMARTY] $smarty->display("sting with template content...") ?
| From: | Monte Ohrt | Date: | Thu, 16 Jan 2003 14:48:00 +0000 |
| Subject: | Re: [SMARTY] $smarty->display("sting with template content...") ? | ||
| References: | 1 | Groups: | php.smarty.general |
| Request: | Send a blank email to php-smarty-general+get-7229@lists.php.net to get a copy of this message | ||
assign the var, then use the "eval" modifier on it.
On Thu, 2003-01-16 at 07:27, Yar3k wrote:
> Is it possible to display template not from file or db but php
> variable? I would like to use
>
> <?php
> ...
> $content=<<<CONTENT
> ....
> CONTENT;
> $smarty->display($content);
> ?>
>
>
> Is it possible?
>
> --
> Yar3k
--
Monte Ohrt <monte@ispi.net>