Re: Newline

From: Date: Mon, 29 Oct 2007 09:43:10 +0000
Subject: Re: Newline
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-263772@lists.php.net to get a copy of this message
On Sunday 28 October 2007, magoo wrote: > I have switched to using single quotes, and found out that newline (\n) > only works in double quotes. It looks kind of stupid using > 'someString'."\n"; and it`s kind of inconsistent using double quotes > for some lines like "someString\n";. You can: define('LF', "\n"); then echo 'A newline' . LF; or something -- Crayon

« previous php.general (#263772) next »