01-18-2008, 05:20 PM
|
#3 (permalink)
|
|
The Prestige
Join Date: Dec 2007
Posts: 1,044
Thanks: 193
|
Quote:
Originally Posted by xenon
Capture the output of the file into the buffer, then just echo it. Like so:
PHP Code:
ob_start();
require $template_file;
$template_contents_parsed = ob_get_contents();
ob_end_clean();
echo/return $template_contents_parsed;
|
Brilliant! Thankz you
|
|
|
|