Re: PHP calling PHP?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]



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.net 
       http://www.sdl.usu.edu - Space Dynamics Lab, Developer    
* * * <- Tribbles  § § § <- teenage mutant ninja tribbles

---------------------------(end of broadcast)---------------------------
TIP 6: Have you searched our list archives?

http://www.postgresql.org/search.mpl





[Index of Archives]     [Postgresql General]     [Postgresql Admin]     [PHP Users]     [PHP Home]     [PHP on Windows]     [Kernel Newbies]     [PHP Classes]     [PHP Databases]     [Yosemite Backpacking]     [Postgresql Jobs]

  Powered by Linux