[phplib] Combining tpl_form with templates ? From: Emre Bastuz (info <email protected>)
Date: 01/27/01

Hi,

I have just created a script that uses tpl_forms from the phplib.

How can I use the script together with the template class to get
something like this working:

<td>{SOMETHING}:</td>
<td align=right><? $this->form_data->show_element("something"); ?></td>

where {SOMETHING} is supposed to be the description of the input field
and "$this->form_data->show_element("something")" is supposed to be the
input field itself ?

The rendered result should look like this:

<td>Please enter something:</td>
<td><input type=text name=something></td>

Using each feature for itself (form and template) is no problem, but
I´m afraid there is no way of combining the two features, or is there ? :)

Regards,

Emre

-- 
Emre Bastuz
info <email protected>              http://www.emre.de        
UIN: 561260           PGP Key ID: 0xAFAC77FD

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