Re: $PHP_SELF in Netscape PART 2

From: Date: Wed, 14 Feb 2001 15:46:08 +0000
Subject: Re: $PHP_SELF in Netscape PART 2
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-39644@lists.php.net to get a copy of this message
dont use ' , ' use ' . ' echo '<a href="' . $PHP_SELF . '">hello</a>'; -- Chris Lee Mediawaveonline.com em. lee@mediawaveonline.com ph. 250.377.1095 ph. 250.376.2690 fx. 250.554.1120 ""John Vanderbeck"" <agathorn@cfl.rr.com> wrote in message news:005601c09696$08331480$d8721a18@cfl.rr.com... > Ok, I made all the changes from $PHPSELF to $PHP_SELF, and i'm further along > with Netscape than before. However, it now seems that there are still some > statements that $PHP_SELF isn't evaluated in. However, now I can narrow it > down to certain statements: > > WORKS: > echo "<P CLASS=Normal><A > HREF=$PHP_SELF?mode=index&category=root>Main</A> -> $category</P>"; > > DOES NOT WORK: > echo '<BR><A HREF="', $PHP_SELF, > '?mode=sub_category&category=', > $category, '&sub_category=', urlencode($subcategories[$index]), > '">', > $subcategories[$index], '</A>'; > > > - John Vanderbeck > - Admin, GameDesign > > > > -- > 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 (#39644) next »