gnawz Posted September 18, 2008 Share Posted September 18, 2008 I have some data in a MySQL database that I display on web pages to the browser. I need, though a way to display special characters like apostrophes or quotation marks properly. Is there a data type I should use or a function I can call at the top of every page to display the HTML entities clearly. Please help Link to comment https://forums.phpfreaks.com/topic/124821-html-entites-and-utf/ Share on other sites More sharing options...
F1Fan Posted September 18, 2008 Share Posted September 18, 2008 Try htmlentities(). http://us3.php.net/manual/en/function.htmlentities.php Link to comment https://forums.phpfreaks.com/topic/124821-html-entites-and-utf/#findComment-644831 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.