Online GK Series

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

Q.

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

Computer Science Books

Your Valuable Comments Please...

Please Like Us
Brand