Re: Escaping Quotes in a String and Ending With A Quote

From: Date: Wed, 20 Mar 2002 02:39:27 +0000
Subject: Re: Escaping Quotes in a String and Ending With A Quote
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-89263@lists.php.net to get a copy of this message
On Tue, 19 Mar 2002, Dr. Shim wrote: > Hmmm. How about this? > > echo "<form name=\"frmMovies\" method=\"post\" > action=\"" . echo $PHP_SELF > . "\">"; You're concatenating "echo $PHP_SELF" rather than just $PHP_SELF, which isn't necessarily helping. But just between me and you, life would be a lot easier if you simply did: echo '<form name="frmMovies" method="post" action="' . $PHP_SELF . '">'; miguel

« previous php.general (#89263) next »