how to ignore html tags in php code example
Example 1: remove html from string php
echo strip_tags("Hello <b>world!</b>");
Example 2: php remove html tag wrap
$text = "<p><script>example text inside script.<script></p>";
echo strip_tags($text, '<script>');