Prevent HTML character codes from being rendered in textarea
Posted
by Bruack
on Stack Overflow
See other posts from Stack Overflow
or by Bruack
Published on 2010-06-08T02:05:34Z
Indexed on
2010/06/08
2:12 UTC
Read the original article
Hit count: 280
Is it possible to display HTML character codes stored in a text field in SQL to a textarea without rendering them as their appropriate character? i wasnt & to show up as & (the way it's stored in the table). Or is their a way I should be storing the HTML so I won't need to worry about this?
(site is using PHP)
© Stack Overflow or respective owner