Function string strip tags

How to remove html tag from string in php
Deepak Sharma
Asked 12-12-2024
144

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