Re: [phplib] templates limit quick functionality adding? From: Kristian Koehntopp (kris <email protected>)
Date: 10/20/00

In netuse.lists.phplib you write:
>I'm trying to implement a site using PHPLIB Templates. To speed up
>development, I want to use scripts like phpPolls to just slap on
>functionality on the site.

Using PHP 4, enable an output buffer before that block of code. Use
ob_get_content() to capture that output and ob_end_flush() to delete the
buffered output. You can then use the rsult from ob_get_content() in a
template.

This requires PHP 4.

Kristian

---------------------------------------------------------------------
To unsubscribe, e-mail: phplib-unsubscribe <email protected>
For additional commands, e-mail: phplib-help <email protected>