c_pattle Posted January 11, 2011 Share Posted January 11, 2011 I'm wondering if there is an easy way to converted certain characters like &'s and £'s to their html codes. I want to do this because I am going to the getting data from a database and want to turn these characters into their html codes when doing so so that my pages validate. Thanks for any help. Quote Link to comment Share on other sites More sharing options...
Pikachu2000 Posted January 11, 2011 Share Posted January 11, 2011 htmlentities 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.