I can see that htmlspecialchars()
or htmlentities()
convert special characters like & " to &
"
which isn't quite I am looking for.
My database table stores text articles that when I fetch and display, anything that contains special characters do not display in a readable format.
Any PHP (Codeigniter) function that accomplishes this?
Added
Sorry for not being so clear about my question.
My case is that I have a word it's and this displays as it’s