Exam4Training

Which of the following functions are used to escape data within the context of HTML? (Choose 2)

Which of the following functions are used to escape data within the context of HTML? (Choose 2)
A . htmlentities()
B . addslashes()
C . stripslashes()
D . strip_tags()
E . htmlspecialchars()

Answer: A, E

Exit mobile version