Answers for "html special characters decode php"

PHP
1

php decode html special characters

$str = "This is some <b>bold</b> text.";
echo htmlspecialchars_decode($str);
// out will be like:
// This is some <b>bold</b> text.
Posted by: Guest on June-11-2021

Code answers related to "html special characters decode php"

Browse Popular Code Answers by Language