Topic: php: decoding special chars (Page 1 of 1) Pages that link to <a href="https://ozoneasylum.com/backlink?for=28559" title="Pages that link to Topic: php: decoding special chars (Page 1 of 1)" rel="nofollow" >Topic: php: decoding special chars <span class="small">(Page 1 of 1)</span>\

 
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!



Post Reply
 
Your User Name:
Your Password:
Login Options:
 
Your Text:
Loading...
Options:


« BackwardsOnwards »

Show Forum Drop Down Menu