Re: MySQL to Email and Line Breaks
| From: | Jonathan David Edwin Wright | Date: | Sun, 14 Apr 2002 14:35:48 +0000 |
| Subject: | Re: MySQL to Email and Line Breaks | ||
| Groups: | php.db | ||
| Request: | Send a blank email to php-db+get-18489@lists.php.net to get a copy of this message | ||
Hiya,
If I remember correctly, you much send both \r and \n to terminate a line on an e-mail, regardless of the platform. This should include the header aswell.
At 12:00 14/04/2002 +0100, DL Neil wrote:
Jeff, I have a form where someone enters the body of an email message into a <textarea> part of a form to be sent out to a list. Then a script retrieves the body and sends it via email. However I can't get line breaks to show up (I'm using MS Outlook) even if I enter the \n into the textarea form and those \n show up in the database data. I must be missing something. Thanks for any help. Line Breaks across different OpSys: *nix: newline character Mac: carriage return character Windows: both CR and LF LF = Newline/Line Break/Line Feed = ASCII chr(10) CR = Carriage Return = ASCII chr(13) Regards, =dn -- PHP Database Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php