Jeff,
Is there something about the evaluation of \n in different types of
strings, eg single quotes/double quotes? (I don't know the answer)...
FWIW I don't like (perhaps, I don't trust) the \r\n type of short-cuts.
Herewith some sample code:
...
$LinkText= "Requested data can be foun
How do I get it to do that? I tried replacing \n with \r\n but it's not
even finding any \n. This is really puzzling me. If I copy the data
from the database field using MySQL-Front and paste it into a word
processor it will have the line breaks retained. But what is it in the
data that shows th
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 pa
Jeff,
> I have a form where someone enters the body of an email message
> into 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
breaks
> to show up (I'm using MS Outlook) even if I enter the \n into the
textarea
> form
This isn't what I'm looking for because the output is to email not HTML.
What I would like is the natural line breaks in the form input to be
preserved and then result in line breaks in the email without having
to add any \n, which didn't work anyway.
Jeff Oien
> check out nl2br() function [newl
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. Howeve
I have a form where someone enters the body of an email message
into 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 breaks
to show up (I'm using MS Outlook) even if I enter the \n into the textarea
form and those \n s