Re: Beginner's attempt fails

From: Date: Tue, 17 Oct 2000 15:36:31 +0000
Subject: Re: Beginner's attempt fails
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-20650@lists.php.net to get a copy of this message
Well, in the end I got the php 4.0.2 module compiled into Apache 1.3.12 on Linux. But in the second little document I wrote the linefeed escape doesn't work. The '\n' disappears from the text but the lines don't get broken. See output below, and the pgp that produced it further below.
browsers ignore linefeed characters. they read HTML. so you need to send out a <BR> if you want the lines broken. if you view the source of the page, however, i bet you'll see that PHP's sending out the line break. -- Marc Antony Vose http://www.suzerain.com/ Democracy is government by Squawk. -- Kenneth Boulding

« previous php.general (#20650) next »