[phplib] Problem with parsed template files From: DAZE (daze <email protected>)
Date: 06/11/01

Hello everybody,

I'm new on PHP and I've got a little problem with the template.inc out of
PHPLib 7.2c.

I use it in the following way:

$tpl = new Template();
$tpl->set_file("user_confirmation",
$tmpl_dir."user_confirmation.tmpl.html");
$tpl->set_var(array());
$tpl->pparse("out", "user_confirmation");

(I've deleted the code in the set_var() Tag)

Now this is my problem:
I parse the HTML Template user_confirmation.tmpl.html an all I get is
something like this:

<td class=\"newsbody\" align=\"center\" valign=\"middle\">
<table border=\"0\" cellpadding=\"2\" cellspacing=\"0\"
class=\"content10pt\" width=\"500\"><tr align=\"left\" valign=\"middle\">
<td width=\"125\">Name</td>

all the " are escaped with \

does anyone know wha went wrong?
Please reply as soon as possible it is urgent!

Thanks.

Greetings Tim Zech
(Replies in german are welcome *g*)

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