[Phplib-users] set_unknowns.
Brought to you by:
nhruby,
richardarcher
From: Liberty Y. <li...@em...> - 2003-06-19 22:01:43
|
I'm not sure if i'm mis-understanding Template->set_unknowns($unknown). I have a template, say foo.tpl: hello {NAME}. {GREETING} and in my foo.php code, i would have. //instatiate the class, etc. etc. $t->set_var("NAME", "dave"); $t->set_unknowns("remove"); $t->pparse("Outpute, "foo"); now, the resulting output is: hello dave. {GREETING} I thought that set_unknowns to remove would strip out {GREETING}? |