Click to See Complete Forum and Search --> : [RESOLVED] Reverse htmlspecialchars?


Shawazi
05-31-2006, 09:14 PM
I am pulling information from a database whose input had htmlspecialchars used on it. Is there a way to convert the specialchars into their actual signs so that &lt;b&gt; actually becomes <b> and therefore displayed the text as bold.

Shawazi
05-31-2006, 09:20 PM
html_entity_decode :) found it

laserlight
05-31-2006, 11:34 PM
On a technicality, html_entity_decode() is the reverse of htmlentities(). htmlspecialchars_decode() is the reverse of [man[htmlspecialchars[/man]().