Jump to content

text to html codes


c_pattle

Recommended Posts

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

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.