newbie question: templates with frames

From: Date: Mon, 15 Apr 2002 10:02:17 +0000
Subject: newbie question: templates with frames
Groups: php.general 
Request: Send a blank email to php-general+get-92982@lists.php.net to get a copy of this message
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

« previous php.general (#92982) next »