Re: templating question

From: Date: Fri, 21 Mar 2003 16:08:58 +0000
Subject: Re: templating question
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-140603@lists.php.net to get a copy of this message
You can always roll your own, it's not that hard at all. Here is an example: ob_start(); include("templateFile"); $tpl_file = ob_get_contents(); ob_end_clean(); The contents of your template file are now in the variable $tpl_file and you can you str_replace to input the data. Remember that str_replace handles arrays, so you can do many different replaces at once. I looked into the other templating systems too and they were just more than I needed at this point. On Friday, March 21, 2003, at 02:55 AM, Dan Rossi wrote:
i would like to know what good ones out there, fast template uses ereg and is slow , itx screws with the source layout and the output looks shit , smarty wants control of the code , is there anything better than these guys ? -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php -- Brent Baisley Systems Architect Landover Associates, Inc. Search & Advisory Services for Advanced Technology Environments p: 212.759.6400/800.759.0577


« previous php.general (#140603) next »