Re: How to use "\n"
| From: | Rasmus Lerdorf | Date: | Sat, 21 Oct 2000 14:58:23 +0000 |
| Subject: | Re: How to use "\n" | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-21558@lists.php.net to get a copy of this message | ||
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
On Sat, 21 Oct 2000, Todd Cary wrote:
> I am running under WIN NT and if I execute echo('Hello World\n"), I get
> "Hello World\n". Do I need to have a "define" (e.g. define("\n",
> "<BR>") )?
>
> Todd
>
> --
> Todd Cary
> Ariste Software
> todd@aristesoftware.com
>
>
>
>