Re: "\n" is for a CR and for a Tab space is ?
| From: | Ignacio Vazquez-Abrams | Date: | Thu, 28 Dec 2000 17:36:59 +0000 |
| Subject: | Re: "\n" is for a CR and for a Tab space is ? | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-32105@lists.php.net to get a copy of this message | ||
On Thu, 28 Dec 2000, Angel Behar wrote:
> Thanks for everybody for the answer, but.....
>
> \t does not work, \n works perfect but the tabs doesn't appear.
>
> I'm sending a mail w/mail function and reading it in Outlook express.
>
> Any idea ?
>
> Thanks again.
>
Are you sure that OE isn't just chewing up the tabs? You may have to use
spaces instead:
str_replace('\t', ' ', $msg);
--
Ignacio Vazquez-Abrams <ignacio@openservices.net>