Login Retreive lost passwordRegister
Search

Forum Index / General / Convert Special Char

[ This topic is solved ]

  Iyas 13 April 10 / 14:59  
Hi,

Thanks for this wonderful script.

I am so excited with FH, not only did I use it for form handling, I also use it for report(view mode).

But some medium of the report need the <, > and & to be converted to & l t ; , & g t; and & a m p ; respectively.

FH stored <, >, &, ' and " in the DB as it is which is great, and I only need to convert it when I want to display it.

Do you have any suggestion?

  Johan Wiegel (Admin) 13 April 10 / 15:15  
Seems to me you want htmlentities?

  Iyas 13 April 10 / 15:22  
i have tried that but the output still <,> and & without change.

  Johan Wiegel (Admin) 13 April 10 / 15:22  
Not in the source ;)

  Iyas 13 April 10 / 15:45  
the output is a .doc document. when i checked the .doc using wordpad, i found that the char is not converted. so it breaks xml tag for word document.

  Johan Wiegel (Admin) 13 April 10 / 16:18  
How about a <![CDATA[ ]]> tag in the xml?

  Iyas 13 April 10 / 17:06  
wow, it works! thanks for the solution.

  Top


powered by PHP-GLOBE   © 2004 - 2012 FormHandler. All rights reserved.   -   Open source license