Re: newline processing problem?
| From: | Ankur Verma | Date: | Mon, 12 Feb 2001 05:56:25 +0000 |
| Subject: | Re: newline processing problem? | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-39175@lists.php.net to get a copy of this message | ||
try using "\r\n" instead of a simple "\n".
hope that helps
Ankur Verma
HCL Technologies
A1CD, Sec -16
Noida, UP
India
----- Original Message -----
From: <nphyre@evernex.com>
To: <php-general@lists.php.net>
Sent: Sunday, February 11, 2001 6:51 AM
Subject: [PHP] newline processing problem?
>
> I have some code which generates a large string to be used by the mail()
> function. At the same point in the string each time, PHP stops processing
> "\n" correctly and instead of a newline outputs nothing, so the text
starts to
> get run together.. but it doesn't seem to happen on every "\n". Has
anyone
> else run into this problem? It used to work correctly but I made a few
> changes to portions of the code that were totally uninvolved, and it
started
> behaving this way. Unfortunately, I didn't notice the problem until I'd
made
> a number of small changes to unrelated things and didn't remember what
they
> were.
>
>
>
> Gordon Morehouse
> nphyre@evernex.com
> www.evernex.com
>
> --
> PHP General Mailing List (http://www.php.net/)
> To unsubscribe, e-mail: php-general-unsubscribe@lists.php.net
> For additional commands, e-mail: php-general-help@lists.php.net
> To contact the list administrators, e-mail: php-list-admin@lists.php.net