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

From: Date: Sat, 27 Jun 2009 18:56:27 +0000
Subject: Re: fixing new lines from <textarea> in an email?
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-294671@lists.php.net to get a copy of this message
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

« previous php.general (#294671) next »