Quick Question about Template Parsers
| From: | Jim Lucas | Date: | Wed, 22 Jan 2003 18:06:00 +0000 |
| Subject: | Quick Question about Template Parsers | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-132651@lists.php.net to get a copy of this message | ||
In general, how do most template parsers work?
do they read the file into a variable and do something
to the effect of preg_replace() to element that is found?
and if so, could you replace the step of reading the file
into a variable with getting the template data out of a database?
WARNING... more questions to come...
Jim