----------------- nohtml() FUNCTION ----------------- ------------ USAGE FORMAT ------------ Where $text is the fixed return string: $text = nohtml($html); ----------- DESCRIPTION ----------- The nohtml() function is used to convert HTML related characters, such as <>&", with their ordinal macros (example: '&' becomes '&') so they become viewable to the end user. Mainly used to display a piece of HTML or PTM script to end users without having to worry about converting the characters manually. This is an internal alternative to using the NOHTML tag. --------- ARGUMENTS --------- $html REQUIRED The HTML string to convert. ------- RETURNS ------- A converted string where HTML characters are replaced with their ordinal macro equivalents. -------------- USAGE EXAMPLES -------------- -------------------------------------------------------------- Example 1: Display "" to the End User with a DISPLAY Tag -------------------------------------------------------------- ") =?> The sample above displays to the end users instead of starting an HTML document. -------- SEE ALSO -------- TAGS NOHTML