Re: How to use "\n"
| From: | Johannes Schlüter | Date: | Sat, 21 Oct 2000 18:17:45 +0000 |
| Subject: | Re: How to use "\n" | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-21577@lists.php.net to get a copy of this message | ||
Hi Rasmus,
Date sent: Sat, 21 Oct 2000 07:58:23 -0700 (PDT)
From: Rasmus Lerdorf <rasmus@php.net>
To: Todd Cary <todd@aristesoftware.com>
Copies to: "php-general@lists.php.net" <php-general@lists.php.net>
Subject: Re: [PHP] How to use "\n"
> No, if you want a <br> output <br>. \n is a carriage return which is
> meaningless in HTML. If you look at your document source you will see
> that the carriage return is being sent properly.
>
> -Rasmus
>
In HTML \n's are important p.e. in <PRE>-Tags or in JavaScript ;)
Johannes