Re: function definition causing problems?
| From: | Erik Price | Date: | Mon, 24 Jun 2002 17:38:47 +0000 |
| Subject: | Re: function definition causing problems? | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-103634@lists.php.net to get a copy of this message | ||
On Monday, June 24, 2002, at 01:30 PM, Ford, Mike [LSS] wrote:
You can use: echo "This script is called {$_SERVER['PHP_SELF']}"; echo "This script is called ${_SERVER['PHP_SELF']}"; echo "This script is called $_SERVER[PHP_SELF]"; or even echo "This script is called " . $_SERVER['PHP_SELF'];Oh. Well, thanks for clarifying -- I always use the concat (last) method myself, but this settles an incorrect assumption I'd been carrying around for months. You're batting two for two today. ;) Erik ---- Erik Price Web Developer Temp Media Lab, H.H. Brown pricee@hhbrown.com