<?php
$str = “This is some <b>bold</b> text.”;
echo htmlspecialchars_decode($str);
?>
output: This is some bold text.
<?php
$str = “This is some <b>bold</b> text.”;
echo htmlspecialchars_decode($str);
?>
output: This is some bold text.