print_output means after reading that line it will stop doing anything after that line to print out the template in its param.
so before print_output you just have to code:
eval('$something = "' . fetch_template('template_name') . '";');
just use it as many times as you want to create the templates, and of course it can only be used within the template feched by print_output.
hope I made myself clear.
|