In message <[EMAIL PROTECTED]>, neilsbohr73
<[EMAIL PROTECTED]> writes
>I was able to get my form to work properly. I don't know if there's
>anything I can do about this, but I noticed that the textarea doesn't
>recognize line breaks when sent to my email. Is there a way to do
>this, and how? These line breaks are important because the customer is
>inputting the message that will be displayed on invitations,
>announcements, etc.
I store the line breaks as <BR> in my database, and data for the
database is entered into a TEXTAREA
preg_replace("/(\r\n|\n|\r)/", "<BR>", $desc )
is the code that I use - either that or a strreplace()
My text email reader requires that I translate the page breaks to \n\n
so that is another possibility.
--
Pete Clark
Free advertising for your website, business, or organisation at:
http://www.hotcosta.com/resources.php
Community email addresses:
Post message: [email protected]
Subscribe: [EMAIL PROTECTED]
Unsubscribe: [EMAIL PROTECTED]
List owner: [EMAIL PROTECTED]
Shortcut URL to this page:
http://groups.yahoo.com/group/php-list
Yahoo! Groups Links
<*> To visit your group on the web, go to:
http://groups.yahoo.com/group/php-list/
<*> To unsubscribe from this group, send an email to:
[EMAIL PROTECTED]
<*> Your use of Yahoo! Groups is subject to:
http://docs.yahoo.com/info/terms/