Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Escaping ampersands to display in HTML

Status
Not open for further replies.

wing2x

Programmer
Jun 24, 2002
39
PH
Hi, inside an -HTMLFORM, if I put "&", webfocus thinks this a focus variable and will not output it to the resulting HTML. How do I escape &'s such that it will be treated as HTML instead of being treated as a variable?
 
That is interesting, I'll give it a try. However, isn't there a straight-forward way to do it? If I have more values to add, like > < ... I don't want to create -DEFAULTS declaration for all of them.

Thanks
 
Try this: place the pipe or concatentate symbol after the ampersand eg &|variable.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top