Php Function To Convert From Html Codes To Normal Chars
I have a string like this: La Torre Eiffel paragonata all’Everest What PHP function should I use to convert the ’ to the actual 'normal' char ': La Torre Eif
Solution 1:
html_entity_decode. From the php.net manual: html_entity_decode() is the opposite of htmlentities() in that it converts all HTML entities in the string to their applicable characters.
Post a Comment for "Php Function To Convert From Html Codes To Normal Chars"