# Help - HTML from Textarea to MySQL?

**URL:** <https://forum.kirupa.com/t/help-html-from-textarea-to-mysql/234280>\
**Category:** programming\
**Created:** [August 1, 2007, 1:32am UTC](https://forum.kirupa.com/t/help-html-from-textarea-to-mysql/234280 "2007-08-01T01:32:56Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![mar1b0r0man](https://avatars.discourse-cdn.com/v4/letter/m/46a35a/32.png) [@mar1b0r0man](https://forum.kirupa.com/u/mar1b0r0man)\
**Post date:** [August 1, 2007, 1:32am UTC](https://forum.kirupa.com/t/help-html-from-textarea-to-mysql/234280/1 "2007-08-01T01:32:56Z")

</div>

Hi all,

I’m trying to post text from a textarea with html tags to mysql using php but the html tags keeps getting converted. How can prevent this? should I be using some combination of escaping the text, htmlspecialchars, urlencoding? Please advise, any suggestions or recommendations would be greatly appreciated, thanks.
