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. Link to comment https://forums.phpfreaks.com/topic/224130-text-to-html-codes/ Share on other sites More sharing options...
Pikachu2000 Posted January 11, 2011 Share Posted January 11, 2011 htmlentities Link to comment https://forums.phpfreaks.com/topic/224130-text-to-html-codes/#findComment-1158113 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.