RE: [PHP] $PHP_SELF in Netscape PART 2

From: Date: Fri, 16 Feb 2001 03:18:38 +0000
Subject: RE: [PHP] $PHP_SELF in Netscape PART 2
Groups: php.general 
Request: Send a blank email to php-general+get-40072@lists.php.net to get a copy of this message
Why don't you instead try to learn the strings handling ... I persoanlly never used commas in strings ... looks suspicious to me ... Cheers, Maxim Maletsky -----Original Message----- From: John Vanderbeck [mailto:agathorn@cfl.rr.com] Sent: Thursday, February 15, 2001 12:11 AM To: php-general@lists.php.net Subject: Re: [PHP] $PHP_SELF in Netscape PART 2 > You are using commas instead of periods, use ".$PHP_SELF." instead of > ",$PHP_SELF," (and for the other instances as well). Huh? I am going off of the example from the PHP documentation: From http://www.php.net/manual/en/function.urlencode.php echo '<A HREF="mycgi?foo=', urlencode ($userinput), '">'; So I am using that as a model: echo ' A HREF=" ', $PHP_SELF, '?mode=index&category=', urlencode($cateogory), ' ">Blah</A>'; - John Vanderbeck - Admin, GameDesign > > > Visit the Gates Motel webgame: > http://www.gameslate.com/gatesmotel/ > > -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: php-general-unsubscribe@lists.php.net For additional commands, e-mail: php-general-help@lists.php.net To contact the list administrators, e-mail: php-list-admin@lists.php.net

« previous php.general (#40072) next »