Re: Inserting variables into a template file
| From: | Martin Neimeier | Date: | Thu, 17 Aug 2000 13:43:51 +0000 |
| Subject: | Re: Inserting variables into a template file | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-12227@lists.php.net to get a copy of this message | ||
Tim West wrote:
>
> Hi,
>
> I have a template html that I want to read, swap out some variables where
> their entry is marked in the file and then pass it to the browser. Can
> anyone tell me how to do this?
>
> Thanks in advance.
>
> Tim
>
> --
> Digital Media Developer
> The Display Post - www.displaypost.co.uk
>
> --
> PHP General Mailing List (http://www.php.net/)
> To unsubscribe, e-mail: php-general-unsubscribe@lists.php.net
> For additional commands, e-mail: php-general-help@lists.php.net
> To contact the list administrators, e-mail: php-list-admin@lists.php.net
Look for class.FastTemplate. I use it now for a long time and it works
great.
Can be found at: http://www.thewebmasters.net/php/FastTemplate.phtml
the book "Professional PHP Programming", ISBN-1-861002-96-3 has on own
chapter for it.
cu
Martin
--
--------------
Martin Neimeier
Tel:+49(6262)912344 Fax:+49(6262)912347