Re: Line Breaks in a Textarea
- From: "khoa.tran" <dkhoa.tran@xxxxxxxxx>
- Date: 29 Apr 2006 10:37:44 -0700
joelbyrd@xxxxxxxxx wrote:
Didn't know exactly where to post this, but: How do I get line breaks
in a textarea? I'm pulling text from a database, and this text
definately has line breaks in it, because I
replaced all the line breaks with <br /> tags ( using the php function
nl2br() ), and <br /> tags showed up in the textarea.
The line-break in textarea is "\n", not <br /> tag. So, if you get data
from one textarea and display in another textarea, you don't need to
convert anything.
.
- References:
- Line Breaks in a Textarea
- From: joelbyrd
- Line Breaks in a Textarea
- Prev by Date: Re: My rant about unix home directories
- Next by Date: Re: to optimize a select join
- Previous by thread: Re: Line Breaks in a Textarea
- Next by thread: hitting the limits
- Index(es):
Relevant Pages
|