Public Group

# TEXTAREA

This topic is 4800 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

## 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 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 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 ^^

1. 1
Rutin
26
2. 2
3. 3
JoeJ
20
4. 4
5. 5

• 10
• 9
• 9
• 46
• 41
• ### Forum Statistics

• Total Topics
631750
• Total Posts
3002067
×