Jump to content

un-encoding HTML with PHP


This topic is 5870 days old. Please don't post here. Open a new topic instead.

Recommended Posts

I am trying to un-encode HTML from a bunch of data elements using smartpill and PHP. I basically have a bunch of text strings in my database which contain stuff like "Hello, thisis Bobs house." and I want to convert this data to "Hello, this is Bob's house.". I'm trying to use this PHP command:

html_entity_decode($value, ENT_QUOTES);

Unfortunately it seems to miss a lot of stuff, including "".

Anyone have any suggestions?

Link to comment
Share on other sites

This topic is 5870 days old. Please don't post here. Open a new topic instead.

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.