Date: 04/02/01
- Next message: Potysch <email protected>: "[phplib] mssql_affected_rows()"
- Previous message: Jesse Swensen: "Re: [phplib] Showoff.php Oracle Cursor and Parse errors??"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Hello,
I have something like this in my file:
$tpl->set_file(array(
"page" => "page_0.02.inc.html",
"contents" => "conten_1.inc.html"
));
if (...)
{
set_var(.....);
} else {
$tpl->set_file("contents" => "content_2.inc.html"); // set another contents template
set_var(.....);
}
$tpl->parse("CONTENTS", "contents", true);
$tpl->parse("CONTENTS", "page");
$tpl->p("CONTENTS");
the second set_file command doesn't change anyting ! What am I doing wrong ?
Hope somebody can help me
Thanks
Iwan Birrer
- Next message: Potysch <email protected>: "[phplib] mssql_affected_rows()"
- Previous message: Jesse Swensen: "Re: [phplib] Showoff.php Oracle Cursor and Parse errors??"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]

