Réf. : [SMARTY] $smarty->display("sting with template content...") ?

From: Date: Thu, 16 Jan 2003 13:52:46 +0000
Subject: Réf. : [SMARTY] $smarty->display("sting with template content...") ?
Groups: php.smarty.general 
Request: Send a blank email to php-smarty-general+get-7225@lists.php.net to get a copy of this message
well I think that what you want to do is: echo $content; Why do you want to use Smarty if you don't use a template? Yar3k <programisci_listy@murator.com.pl> le 16/01/2003 14:27:23 Veuillez répondre à Yar3k <programisci_listy@murator.com.pl> Pour : Smarty <smarty-general@lists.php.net>(E-mail) cc : (ccc : Philippe MORANGE/EST/DOSI/BANQUE_INDOSUEZ/FR) Objet : [SMARTY] $smarty->display("sting with template content...") ? 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 -- Smarty General Mailing List (http://smarty.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

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