Online GK Series

This site is dedicated to the aspirants of competitive exams SSC, UPSC, Railways, Bank, GATE and NET


Which function is used to remove HTML Tags from a string in PHP?

A regex
B strip_tags()
C replaceAll()
D stripHtmlTags()
Answer & Explanation
Option: [B]

The strip_tags() function removes HTML tags from a string

Your Valuable Comments Please...

Please Like Us