Re: [PHP] How to reference global variables in strings

2001-02-05 Thread Steve Edberg
At 10:57 AM -0700 2/5/01, Karl J. Stubsjoen wrote: >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?"); > This wouldn't be a global variable; rather,

[PHP] How to reference global variables in strings

2001-02-05 Thread Karl J. Stubsjoen
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?"); -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For addi