1.

Which function is used to remove all HTML tags from a string passed to a form?(a) remove_tags()(b) strip_tags()(c) tags_strip()(d) tags_remove()I have been asked this question in a job interview.Question is taken from HTML Forms topic in division File and Session Handling in PHP of PHP

Answer»

Right option is (b) strip_tags()

For EXPLANATION: The function strip_tags() is used to strip a STRING from HTML, XML, and PHP tags.



Discussion

No Comment Found

Related InterviewSolutions