Closed Thread Icon

Topic awaiting preservation: php: decoding special chars Pages that link to <a href="https://ozoneasylum.com/backlink?for=28559" title="Pages that link to Topic awaiting preservation: php: decoding special chars" rel="nofollow" >Topic awaiting preservation: php: decoding special chars\

 
Author Thread
GRUMBLE
Paranoid (IV) Mad Scientist

From: Omicron Persei 8
Insane since: Oct 2000

posted posted 10-20-2006 18:52

hello, im saving html code in a database, where i encode special characters into html entities. mainly for the sake of german ä,ö,ü,ß,...

now in order to read out the html code from the database, i try to do:
html_entity_decode(htmlspecialchars_decode($text, ENT_QUOTES))

but unfortunately it decodes all my entities and that is also the html-brackets. how can i avoid that those are decoded? thanks!

« BackwardsOnwards »

Show Forum Drop Down Menu