March 2002
Intermediate to advanced
528 pages
21h 29m
English
htmlentities
string htmlentities(stringstring[, intstyle)
Converts all characters in string that
have special meaning in HTML and returns the resulting string. All
entities defined in the HTML standard are converted. If supplied,
style determines the manner in which
quotes are translated. The possible values for
style are:
|
|
Converts double quotes, but not single quotes |
|
|
Does not convert either double quotes or single quotes |
|
|
Converts both single and double quotes |