Re: [SMARTY] Put in file
| From: | messju mohr | Date: | Thu, 08 Jul 2004 17:54:08 +0000 |
| Subject: | Re: [SMARTY] Put in file | ||
| References: | 1 | Groups: | php.smarty.general |
| Request: | Send a blank email to php-smarty-general+get-11545@lists.php.net to get a copy of this message | ||
Hi!
On Thu, Jul 08, 2004 at 09:08:39PM -0400, Juan Pablo Herrera wrote:
> Hi!
> I need put the content of $smarty->display(template.tpl), in a file .txt.
> The function that using in php is fwrite. Can I using this function?
you want to use $smarty->fetch() instead of $smarty->display(). see:
http://smarty.php.net/manual/en/api.fetch.php
> Thank You.
> Juan