Re: yet another template
| From: | Jean-Michel POURE | Date: | Wed, 07 Nov 2001 17:39:23 +0000 |
| Subject: | Re: yet another template | ||
| References: | 1 2 | Groups: | php.pear.dev |
| Request: | Send a blank email to pear-dev+get-2607@lists.php.net to get a copy of this message | ||
$tpl['value'] = $string; and for a block/section/whatever-its-called you only need to say $tpl['blockname']['value'] = $string;I like the idea of an object/xml compatible structure. How would you integrate the template system with databases? Keeping key/value pairs in a text file is rather old-fashioned... Any idea? /Jean-Michel POURE