Programming Reference:Functions:CCToHTML

From CodeCharge Studio Community Wiki

Jump to: navigation, search

Description
Equivalent of PHP's htmlspecialchars() function. Converts special characters to HTML entities. This function is useful in preventing user-supplied text from containing HTML markup, such as in a message board or guest book application.

Location
Common.php

Syntax

CCToHTML(text);

Return value
String


Parameters

Name Type Description Required
text string The text that will be converted. Yes


See also:

Personal tools