Which constant must be passed as the second argument to htmlentities() to convert single quotes (‘) to HTML entities?

Which constant must be passed as the second argument to htmlentities() to convert single quotes (‘) to HTML entities?
A . TRUE
B . FALSE
C . ENT_QUOTES
D . ENT_NOQUOTES
E . ENT_COMPAT

Answer: C

Subscribe
Notify of
guest
0 Comments
Inline Feedbacks
View all comments