Encodes special characters within strings to be inserted into HTML documents.
HTML_ENCODE ( string )
string An arbitrary literal string used in an HTML document.
This function returns the string argument after making the following set of substitutions:
Characters |
Substitution |
---|---|
" |
" |
' |
' |
& |
& |
< |
< |
> |
> |
codes no less than 0X20 |
&#xnn |