I have a databse query which returns a string. The string may contain the > and < character. When this is outputted, characters beyond the < do not display. Any tips on getting those characters on the page?
I answered my own question. I just issued a replace command on the < and > characters as the string is outputted. It seems to work ok, even passing between pages. Thanks anyway.
If you need to display those signs, you might can try wrapping the variable with #HTMLCodeFormat(VarName)#. But this will actually SHOW all html that may happen to be in the variable.
Hope This Helps!
Ecobb
"My work is a game, a very serious game." - M.C. Escher
I might give that a shot, although there is no HTML in the variable. Its a string of ascii characters that may contain the < and > character which are picked up by the HTML parser against my wishes.
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.