Re: Line breaks again....
| From: | Torsten Roehr | Date: | Wed, 21 Jul 2004 22:19:12 +0000 |
| Subject: | Re: Line breaks again.... | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-191429@lists.php.net to get a copy of this message | ||
"Php User" <phplistuser@netscan.ca> wrote in message
news:DC1lWQAI2WzvILkrrm700000024@dc1.netscan.ca...
> Hi,
>
> I have managed to get the line breaks to show up on my site no problem,
but
> I still get one long line when it is sent to my email. I have looked and
> looked and have read all the stuff I could find on \r\n, so I'm not sure
> where to go from here since it's not working...
>
> Suggestions are appreciated.
>
> Thanks, Beauford
You can also use chr(10) for your linebreaks. Try to str_replace() all \r\n
with chr(10).
Regards, Torsten Roehr