Received: from fslc.ser.usu.edu (fslc.ser.usu.edu [129.123.28.122]) by postgresql.org (8.11.3/8.11.1) with ESMTP id f4BEqtA08779 for ; Fri, 11 May 2001 10:52:55 -0400 (EDT) (envelope-from rmello@fslc.usu.edu) Received: (from rmello@localhost) by fslc.ser.usu.edu (8.12.0.Beta5/8.12.0.Beta5/Debian 8.12.0-1) id f4BEqfVs019119; Fri, 11 May 2001 08:52:41 -0600 Date: Fri, 11 May 2001 08:52:41 -0600 From: Roberto Mello To: Chris Smith Cc: pgsql-php@postgresql.org Subject: Re: PHP calling PHP? Message-ID: <20010511085241.A19103@cc.usu.edu> References: <01051015233100.28891@area51.cybersydney.com.au> Mime-Version: 1.0 Content-Type: text/plain; charset=unknown-8bit Content-Disposition: inline Content-Transfer-Encoding: 8bit User-Agent: Mutt/1.3.17i In-Reply-To: <01051015233100.28891@area51.cybersydney.com.au>; from csmith@squiz.net on Thu, May 10, 2001 at 03:23:31PM +1000 X-Archive-Number: 200105/64 X-Sequence-Number: 373 On Thu, May 10, 2001 at 03:23:31PM +1000, Chris Smith wrote: > > > > > echo "
\n"; > > > > > > Ack! You could do this for much better readability instead: > > > echo "\n"; ^^^^^^^^^^^^^^^^ > Different quotes do different things in PHP, just something to remember... True, but that's not what I did. My line of code is correct. The single quotes are within the double quotes, and hence are treated as literals and the variable is evaluated. -Roberto -- +----| http://fslc.usu.edu USU Free Software & GNU/Linux Club |------+ Roberto Mello - Computer Science, USU - http://www.brasileiro.net http://www.sdl.usu.edu - Space Dynamics Lab, Developer * * * <- Tribbles § § § <- teenage mutant ninja tribbles