Re: Stupid question, sorry...

From: Date: Fri, 07 Feb 2003 00:27:45 +0000
Subject: Re: Stupid question, sorry...
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-134696@lists.php.net to get a copy of this message
Because PHP performs evaluation on the contents of double quotes and does not evaluate the contents of single quotes. This is covered in the PHP manual in the Variables section at http://www.php.net/manual/en/language.variables.php. Jason On Thu, 2003-02-06 at 08:27, Chris Boget wrote: > Why is it that \n gets translated to a _new line_ when in > double quotes whereas it's displayed as the literal when > in single quotes? I checked out the docs but couldn't > come up with a definitive answer. If someone could point > me to the right page in the docs that explains this, I'd be > ever so appreciative! > > thnx, > Chris > > > -- > PHP General Mailing List (http://www.php.net/) > To unsubscribe, visit: http://www.php.net/unsub.php

« previous php.general (#134696) next »