I need to put up a simple form to edit HTML that is stored in a database. I read in the HTML and then display it in a textarea box.
It works fine except for HTML characters. If "& amp;" is stored in the database, then "&" gets displayed in the textarea box.
When I save the form, "&" gets saved instead of "& amp;". This happens for all characters not just the ampersand.
Is their a way to have the textarea box not render the characters, or is their some alternative?
thanksIn reply to Textarea to edit HTML? by Anonymous Monk
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |