Re: no newline after "?>" in the resulting HTML

From: Date: Sat, 18 Mar 2006 23:36:01 +0000
Subject: Re: no newline after "?>" in the resulting HTML
References: 1 2 3  Groups: php.general 
Request: Send a blank email to php-general+get-232204@lists.php.net to get a copy of this message
Rostislav Krasny wrote:
On Sat, 18 Mar 2006 13:49:19 -0800 lists@cmsws.com (Jim Lucas) wrote:
put a space after the ?> and you will retain the line feed
It also adds that space before the retained line feed, but so it looks better anyway. Excellent suggestion, thank you! Could it be added to the FAQ and to the official PHP tutorial? At least to the discussed part of the tutorial, so PHP beginners like me wouldn't be confused :-)
I added it to the tutorial. It will show up the next time the manual is built. -Rasmus

« previous php.general (#232204) next »