I am using PHPLib for templates and now I ran into some problems.
I have a template which is similar to this:
<TABLE>
<TR><TD>{content}</TD></TR>
(other table stuff)
</TABLE>
Now I wanted to parse the output of a include file (which does some output by using a template itself) into the template above. I tried the following which does not work correct:
$tpl->set_var(array("content" => include("file.inc"));
The only thing I see is the output of file.inc but not the rest of my table I wanted to parse.
What do I have to do to get the output of file.inc into my template?