PHP Code:
function evaltemplate($templatename, $storagevar)
// evals $templatename and stores the output in $storagevar
{
$localcopy = gettemplate($templatename);
eval("\$$storagevar = \"$localcopy\";");
}
...and after that, I run:
PHP Code:
evaltemplate("templatename", "contentsvariable");
Finally, I put
$contentsvariable at the top of the header. The template
templatename exists. However nothing shows up in the header. Why?