Posted by Janwillem Borleffs on 03/11/06 18:40
kennyjjohnson@gmail.com wrote:
> Ok, I think I am getting close... let me see... thanks again
Replacing:
$html = "<html>\n\t<head>\n\t\t<title>$title</title>\n\t";
$html .= "</head>\n\t<body></body>\n</html>";
With:
ob_start();
include 'template.php';
$html = ob_get_contents();
ob_end_clean();
Should get you close. Mind that all variables you want to use within
template.php should be created and assigned before the template file is
included.
JW
Navigation:
[Reply to this message]
|