Hello to all. Please help me in this problem of mine. I have an html template with a
frame. I'm using phplib's templating functions to replace values in the templates. How
do i also replace values both in the main template (frleft.htm) and in the html page
contained in the frame? My code looks like the following:
<?php
include("prep1.php");
$tpl = new NCC_Template(".","keep");
$tpl->set_var("test", "nyahahaha");
$tpl->set_file(array(base => "frleft.htm"));
$tpl->parse(DefaultPage, base);
$tpl->finish(DefaultPage);
$tpl->p(DefaultPage);
?>
---------------------------------
Do You Yahoo!?
Yahoo! Tax Center - online filing with TurboTax