Re: $PHP_SELF in Netscape PART 2

From: Date: Wed, 14 Feb 2001 15:11:20 +0000
Subject: Re: $PHP_SELF in Netscape PART 2
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-39637@lists.php.net to get a copy of this message
> 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/ > >

« previous php.general (#39637) next »