PrepAway - Latest Free Exam Questions & Answers

Which function do you apply to the text, when displaying it?

You want to allow your users to submit HTML code in a form, which will then be displayed as real
code and not affect your site layout. Which function do you apply to the text, when displaying it?
(Choose 2)

PrepAway - Latest Free Exam Questions & Answers

A.
strip_tags()

B.
htmlentities()

C.
htmltidy()

D.
htmlspecialchars()

E.
showhtml()


Leave a Reply

Your email address will not be published. Required fields are marked *