Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PHP

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.
 
PREVIOUS NEXT
Tagged: #php #decode #html #special #characters
ADD COMMENT
Topic
Name
9+1 =