Re: \n and <br>

From: Date: Mon, 10 Nov 2003 14:57:54 +0000
Subject: Re: \n and <br>
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-169029@lists.php.net to get a copy of this message
--- PHPLover <phplover@hotmail.com> wrote: > is \n same as <br> This is not true. > I know that \n creates a break in source and not in display. > Is it possible to make \n does the same function as <br> No, but you can convert your newlines to the HTML equivalent: http://www.php.net/nl2br Hope that helps. Chris ===== My Blog http://shiflett.org/ HTTP Developer's Handbook http://httphandbook.org/ RAMP Training Courses http://www.nyphp.org/ramp

« previous php.general (#169029) next »