>In the  template we have :
><input type="text" name="test" value="<TMPL_VAR name="test">">

>and we "replace it with the $template->param(test => $test)

>Our problem is that when $test='here is "daddy"';
>the result is :
><input type="text" name="test" value="here is "daddy"">
>which is bad html, and result in a field containing "here is" ("daddy" 
>is lost)
>So, how could we solve this ?

Try to change the text >"daddy"< in >\" daddy\"<


Sven



-------------------------------------------------------
This SF.NET email is sponsored by: Geek Gift Procrastinating?
Get the perfect geek gift now!  Before the Holidays pass you by.
T H I N K G E E K . C O M      http://www.thinkgeek.com/sf/
_______________________________________________
Html-template-users mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/html-template-users

Reply via email to