[phplib] templates and forms or ooh From: Michael D. Eschner (mde <email protected>)
Date: 08/25/00

Is there a possibility to use the template class together with the form
or ooh class?

Example:

In a php file:

$template->set_var(array(
                            "HEADER" => $template->subst("header"),
                            "START_FORM" => $f->start("icER"), // OOH
function
                            "DATA_FORM" => $f->show_element("reply"),
// OOH function
                            "USERDATA" => "Name:
".$auth->auth["given_name"]." ".$auth->auth["surname"]));

In the html file:

{HEADER}
{USERDATA}
{START_FORM} {DATA_FORM}

With the example code I get

{START_FORM} {DATA_FORM}
{HEADER}
{USERDATA}

But that's not what I want :(

mde

---------------------------------------------------------------------
To unsubscribe, e-mail: phplib-unsubscribe <email protected>
For additional commands, e-mail: phplib-help <email protected>