How to reference global variables in strings
| From: | Karl J. Stubsjoen | Date: | Mon, 05 Feb 2001 17:57:03 +0000 |
| Subject: | How to reference global variables in strings | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-38281@lists.php.net to get a copy of this message | ||
If you don't prefix a global variable with $ then how can you interpit a
global variable within a string? AS IN:
define ("MY_PATH", "/home/me/");
print("This is My Path: MY_PATH or is it?");