RE: [PHP] Finding template variables.
| From: | Richard Heyes | Date: | Wed, 09 Aug 2000 16:30:49 +0000 |
| Subject: | RE: [PHP] Finding template variables. | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-10954@lists.php.net to get a copy of this message | ||
> Is there a way to retrieve a template variable (ie: %%title%%)
> and, if there's a
> string variable with the same name (ie: $title), substitute the template
> variable with the string value with "str_replace()"??
My template class does exactly this. It's at the url below if you're
interested.
--
Richard Heyes
http://www.heyes-computing.net/scripts/
Plain text email only please!