Re: MySQL to Email and Line Breaks
| From: | olinux | Date: | Sat, 13 Apr 2002 23:09:06 +0000 |
| Subject: | Re: MySQL to Email and Line Breaks | ||
| References: | 1 | Groups: | php.db |
| Request: | Send a blank email to php-db+get-18481@lists.php.net to get a copy of this message | ||
check out nl2br() function [newline to break]
http://www.php.net/manual/en/function.nl2br.php
olinux
Jeff Oien wrote: I have a form where someone enters
the body of an email messageinto a 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
breaksto 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.Jeff Oien-- PHP Database Mailing
List (http://www.php.net/)To unsubscribe, visit: http://www.php.net/unsub.php
__________________________________________________
Do You Yahoo!?
Yahoo! Tax Center - online filing with TurboTax
http://taxes.yahoo.com/