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 Quote Link to comment 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 Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.