Function string strip tags

How to remove html tag from string in php
Deepak Sharma
Asked 27-01-2025
150

Answer (1)
<?php echo strip_tags("Hello <b>world!</b>"); ?> This function strips a string from HTML, XML, and PHP tags. In this example, the <b> tag gets stripped  
Deepak Sharma
Asked 04-11-2018
45 Likes
Comments
Write comment

Submit your answer