php unescape html

27 Aug 2010

You want htmlspecialchars-decode or perhaps html-entity-decode, depending on your needs.

If you search for "php unescape html" you get nonsense answers, so I posted this to help future searchers.

Thanks Ross.


Comment 2011-09-08 by None

That's exactly what I searched -- thanks!

P.S. you're result #1 for it :)