[SOLVED]Preserving New Line Breaks in an Email
Posted: Thu Jun 24, 2004 12:59 pm
Hi
So say I have a form that is meant to collect data from users. At the moment, other than stripslashes I am not modifying the content...it simply comes to my inbox.
Now say the user says something like this:
"Hello
My name is Rob
Look at me"
What *I'll* receive in my inbox is
"Hello My name is Rob Look at me".
So my question is this: how would I modify the text so that the new line breaks are somehow preserved in the email message?
Thanks a lot
Rob
So say I have a form that is meant to collect data from users. At the moment, other than stripslashes I am not modifying the content...it simply comes to my inbox.
Now say the user says something like this:
"Hello
My name is Rob
Look at me"
What *I'll* receive in my inbox is
"Hello My name is Rob Look at me".
So my question is this: how would I modify the text so that the new line breaks are somehow preserved in the email message?
Thanks a lot
Rob