Re: [phplib] Problem with parsed template files From: nathan r. hruby (nathan <email protected>)
Date: 06/11/01

On Mon, 11 Jun 2001, Peter Bowyer wrote:

> At 06:21 PM 6/11/01 +0200, you wrote:
> ><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!
>
> Try stripping a stripslashes() function around the variable - it seems to
> be adding slashes on its own...
>
> Peter.

Or turing off magic_quotes
Or
$tpl->parse(OUT, "YourTemplate");
$tpl->p(OUT);

-n

-- 
-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
nathan hruby / digital statement
nathan <email protected>
http://www.dstatement.com/

Public GPG key can be found at: http://www.dstatement.com/nathan-gpg-key.txt ED54 9A5E 132D BD01 9103 EEF3 E1B9 4738 EC90 801B -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-

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