Re: MySQL to Email and Line Breaks
| From: | DL Neil | Date: | Sun, 14 Apr 2002 11:00:03 +0000 |
| Subject: | Re: MySQL to Email and Line Breaks | ||
| References: | 1 | Groups: | php.db |
| Request: | Send a blank email to php-db+get-18486@lists.php.net to get a copy of this message | ||
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