Ask a Question related to Macromedia Dynamic HTML, Design and Development.
-
....hooligan #1
Include Line breaks in Textarea box
I have a few textarea boxes on a form that i input info into and then click
send and it then adds itself to a html page and sends its self to my email.
Now if i use a line break in the box before the end of the line i want that
to be included in the output. How would i do that?
....hooligan Guest
-
TextArea edition line
Hi, I'm working at the alignment of the text of a TextArea, but i can't get the line so the user dosn't need to select the whole line, but just... -
Handling line breaks in textarea
I am trying to use a textarea part of a form to store submitted articles (multiple paragraphs) in a database. To display these articles on a... -
TextArea line count
is there a way to count the number of lines in a textarea with wordwrap? -
#26259 [Opn->Bgs]: relative include path not working with include() from shell command line execut
ID: 26259 Updated by: iliaa@php.net Reported By: orsaini at allainet dot com -Status: Open +Status: ... -
#26259 [NEW]: relative include path not working with include() from shell command line execut
From: orsaini at allainet dot com Operating system: Lunux Apache 2.0.47 PHP version: 4.3.2 PHP Bug Type: ... -
rob::db #2
Re: Include Line breaks in Textarea box
There was just a discussion about this on here a few days ago.
.....hooligan wrote:> I have a few textarea boxes on a form that i input info into and then
> click send and it then adds itself to a html page and sends its self
> to my email. Now if i use a line break in the box before the end of
> the line i want that to be included in the output. How would i do
> that?
rob::db Guest
-
....hooligan #3
Re: Include Line breaks in Textarea box
Its cool i just used
nl2br
eg $text = nl2br($_POST['text']);
"rob::db" <rob@digitalburn.net> wrote in message
news:d9p228$me6$1@forums.macromedia.com...> There was just a discussion about this on here a few days ago.
>
>
>
> ....hooligan wrote:>>> I have a few textarea boxes on a form that i input info into and then
>> click send and it then adds itself to a html page and sends its self
>> to my email. Now if i use a line break in the box before the end of
>> the line i want that to be included in the output. How would i do
>> that?
>
....hooligan Guest
-
rob::db #4
Re: Include Line breaks in Textarea box
Yeah, that's what I recommended. If you're using PHP, you should considering
using autop from [url]http://photomatt.net/scripts/autop[/url], as it's a lot more
powerful and just as simple to use.
.....hooligan wrote:> Its cool i just used
>
> nl2br
>
> eg $text = nl2br($_POST['text']);
>
>
> "rob::db" <rob@digitalburn.net> wrote in message
> news:d9p228$me6$1@forums.macromedia.com...>> There was just a discussion about this on here a few days ago.
>>
>>
>>
>> ....hooligan wrote:>>> I have a few textarea boxes on a form that i input info into and
>>> then click send and it then adds itself to a html page and sends
>>> its self to my email. Now if i use a line break in the box before
>>> the end of the line i want that to be included in the output. How
>>> would i do that?
rob::db Guest



Reply With Quote

