Click to See Complete Forum and Search --> : [RESOLVED] Reverse htmlspecialchars?
Shawazi
05-31-2006, 10: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 <b> actually becomes <b> and therefore displayed the text as bold.
Shawazi
05-31-2006, 10:20 PM
html_entity_decode :) found it
laserlight
06-01-2006, 12:34 AM
On a technicality, html_entity_decode() is the reverse of htmlentities(). htmlspecialchars_decode() is the reverse of [man[htmlspecialchars[/man]().
PHP Builder
Copyright Internet.com Inc. All Rights Reserved.