php remove html tag and content from string code example
Example 1: remove html tags from string php
<?php
echo strip_tags("Hello <b>world!</b>");
Example 2: remove html from string php
echo strip_tags("Hello <b>world!</b>");
<?php
echo strip_tags("Hello <b>world!</b>");
echo strip_tags("Hello <b>world!</b>");