# TEXTAREA

## Recommended Posts

How u can get a   in a textarea? when I run It convert it to a space It convert it here to to a space ^^
&nbsp        // I whant this text to show in the TEXTAREA


When u get in and Edit this Post nbsp dissapere to a SPACE Looks like its no sollution to this?

Use escaping.

&amp;nbsp;

#### Share this post

##### Share on other sites
You mean you simply want to write &nbsp;?

Use HTML escape sequences.. since you're trying to explicitly output an escape sequence, you must escape the escape. In this case, you simply replace the "&" with the escape sequence for it, "&amp;"

So to output "&nbsp;" you would write "&amp;nbsp;"

Of course, to output that, I had to write "&amp;amp;nbsp;"

#### Share this post

##### Share on other sites
"&amp;nbsp;"
was a goed one but when u preview it the TEXTAREA eat it up in 2 round instead of 1

<TEXTAREA something=off> so it no kill &nbsp;</TEXTAREA>&nbsp; is in the database and when it get into TEXTAREA its still &nbsp; in code but in TEXTAREA its a SPACE

thanks for idea ^^

## Create an account or sign in to comment

You need to be a member in order to leave a comment

## Create an account

Sign up for a new account in our community. It's easy!

Register a new account

## Sign in

Already have an account? Sign in here.

Sign In Now

• ### Forum Statistics

• Total Topics
628328
• Total Posts
2982098

• 22
• 9
• 9
• 13
• 11