From: Roberto Mello <rmello@cc.usu.edu>
To: Chris Smith <csmith@squiz.net>
Cc: pgsql-php@postgresql.org
Subject: Re: PHP calling PHP?
Date: Fri, 11 May 2001 08:52:41 -0600
Message-ID: <20010511085241.A19103@cc.usu.edu> (raw)
In-Reply-To: <01051015233100.28891@area51.cybersydney.com.au>
References: <Pine.LNX.4.21.0105101509500.11225-100000@webster.conprojan.com.au>
<01051015233100.28891@area51.cybersydney.com.au>
On Thu, May 10, 2001 at 03:23:31PM +1000, Chris Smith wrote:
>
> > > > echo "<FORM ACTION=\"$PHP_SELF\" METHOD=\"POST\">\n";
> > >
> > > Ack! You could do this for much better readability instead:
> > > echo "<FORM ACTION='$PHP_SELF' METHOD='POST'>\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.nethttp://www.sdl.usu.edu - Space Dynamics Lab, Developer
* * * <- Tribbles § § § <- teenage mutant ninja tribbles
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients from your mail client; the link fills in
the headers below: reply via email
Some clients, webmail especially, drop In-Reply-To and References from
a link, and the reply then starts a new thread: use the mbox below.
To: pgsql-php@postgresql.org
Cc: rmello@cc.usu.edu, csmith@squiz.net
Subject: Re: PHP calling PHP?
In-Reply-To: <20010511085241.A19103@cc.usu.edu>
References: <Pine.LNX.4.21.0105101509500.11225-100000@webster.conprojan.com.au> <01051015233100.28891@area51.cybersydney.com.au> <20010511085241.A19103@cc.usu.edu>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox