Re: function definition causing problems?

From: Date: Mon, 24 Jun 2002 17:13:05 +0000
Subject: Re: function definition causing problems?
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-103625@lists.php.net to get a copy of this message
> // this won't work b/c of quoting issues > echo "This script is called $_SERVER["PHP_SELF"]"; > > // this should work fine IIRC > echo "This script is called $_SERVER['PHP_SELF']"; Nope, use: echo "This script is called $_SERVER[PHP_SELF]"; -Rasmus

« previous php.general (#103625) next »