Re: $PHP_SELF in Netscape PART 2
| From: | Rog | Date: | Wed, 14 Feb 2001 15:03:14 +0000 |
| Subject: | Re: $PHP_SELF in Netscape PART 2 | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-39632@lists.php.net to get a copy of this message | ||
John Vanderbeck wrote:
DOES NOT WORK: echo '<BR><A HREF="', $PHP_SELF, '?mode=sub_category&category=', $category, '&sub_category=', urlencode($subcategories[$index]), '">', $subcategories[$index], '</A>';You are using commas instead of periods, use ".$PHP_SELF." instead of ",$PHP_SELF," (and for the other instances as well).
Visit the Gates Motel webgame:
http://www.gameslate.com/gatesmotel/