Re: fixing new lines from <textarea> in an email?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



At 11:27 AM -0500 6/26/09, Adam Williams wrote:
I have staff fill out a form that contains a <textarea> with their problem description and emailed to me when they click submit. Staff will press enter in the text area, but I'm having problems converting the \r\n into a new line in the email that is sent to me, here is the code:

-snip-

Adam:

There's always confusion as to what you do with data collected from a form. In your case, you just want the data sent to you via email and for the new lines to be properly converted into something that resembles what was entered, right?

I think this example might help:

http://www.webbytedd.com/bbbb/email-form/index.php

Cheers,

tedd
--
-------
http://sperling.com  http://ancientstones.com  http://earthstones.com

--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php


[Index of Archives]     [PHP Home]     [Apache Users]     [PHP on Windows]     [Kernel Newbies]     [PHP Install]     [PHP Classes]     [Pear]     [Postgresql]     [Postgresql PHP]     [PHP on Windows]     [PHP Database Programming]     [PHP SOAP]

  Powered by Linux