dynamic template
| From: | Simon Benjamin | Date: | Mon, 15 Mar 2004 00:31:12 +0000 |
| Subject: | dynamic template | ||
| Groups: | php.smarty.general | ||
| Request: | Send a blank email to php-smarty-general+get-11120@lists.php.net to get a copy of this message | ||
Hello,
Smarty work dynamic templates? (data from DB, PHP)
----- code -----
... // get data from db
$db->FetchRow($template); // template data (string!)
$SM->display($template); // ?
----- code -----
or works only "static" files?
thx
--
bye, Benjamin