[phplib] Use of Table class together with Templates From: Nico Galoppo (scratch <email protected>)
Date: 04/28/00

Hi,

I'm using templates (with the Template class or the FastTemplate class) to build up my pages. Using PHPLIB, i'd like to build up a table from a database query, using the Table::show_result() method.

Unfortunately, this method does 'fprint' 's, so catching the output for variable interpolation is a problem. Does anyone know of a php/phplib trick to redirect the output of the show_result() method to a scalar?

--nico

-- 
                       .:: debian linux :  ::  :::::::::::::::::.
:: Nico Galoppo ::::: ::                         vim powered    ::
                      ::        scratch at crossbar dot net     ::
                       ::       http://scratchor.dhs.org       ::
                         ::.                                .::

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