I have a forum like application where people quote their code anippets (of different languages).
Posting without escaping the content is both dangerous and it receievs error.
Could someone please show me a short code snippet on how can I properly
1- Escape the posted text field
2- Then show it correctly on another page and
3- Finally load it into a text box for editing? (possibly unescape it for edit)