Subroutine Name

QuoteHTML

Explanation and Usage

This subroutine will take in text, and return it with angled brackets and ampersands replaced by their HTML equivalent (>, <, &)

Syntax

QuoteHTML(Text)

Options

Text - The text you want to sanitize.

Examples

These are actual examples from the Aneuch source code:

$next = QuoteHTML($next);
This call insures that the above mentioned elements are escaped in the text found in the variable $next.

← Return to API listing