<textarea> input help



First of all, my apologies if this should be in a php newsgroup and
not here, but I thought this the best place to start.

I want to parse the text from a <textarea> form element but when I
pass this in a POST request to the server and then output it using
PHP, all formatting is gone.

I was under the impresssion that the textbox would register any
carriage returns or line breaks and send them in the final text for
processing?

Is there any way of forcing the textarea input to send formatting data
as well?

Essentially the idea would be to turn a text box with this in:
"Hello <= carriage return
<= line break
World <= carriage return
<= line break
Foo <= carriage return
<= line break
Bar"

into
"<p>Hello</p>
<br />
<p>World</p>
<br />
<p>Foo</p>
<br />
<p>Bar</p>"

but i can't do this is the received string at the server is does not
contain any reference to those line breaks of carriage returns. I
can't HTMLify it if you will.

Many thanks for any help you can offer
.



Relevant Pages

  • Re: Re: Re: Export Text
    ... You can't export carriage returns - FileMaker (and most other data ... FileMaker Pro 8.5 Advanced on Windows XP Pro SP2 ... FileMaker Server 8.0 on Windows 2003 Server R2 ...
    (comp.databases.filemaker)
  • Re: Export File
    ... I need to export or create a file on a specific path folder on the server ... User_name (and I need a carriage return HERE) ... This is require to send SMS message to a pager service on the server. ... but test it and see what happens (I rarely use Windows). ...
    (comp.databases.filemaker)
  • Re: Attachments problem
    ... carriage returns inserted into the document at the end of lines. ... The Eudora settings for both Macs are identical. ... it's a server side problem. ... Some servers see a line length (or word wrap) tag of some sort, and insert hard returns, and some don't. ...
    (comp.mail.eudora.mac)
  • RE: Send file to printer
    ... > the server name correct! ... however, when it prints to the printer, I does not see the carriage return ... use warnings; ...
    (perl.beginners)
  • Export File
    ... I need to export or create a file on a specific path folder on the server ... User_name (and I need a carriage return HERE) ... This is require to send SMS message to a pager service on the server. ... without having to create a script that will make a found set of ...
    (comp.databases.filemaker)