Re: [PHP] displaying constants

2010-08-28 Thread David McGlone
On Sat, 2010-08-28 at 11:13 -0400, Daniel P. Brown wrote: > On Sat, Aug 28, 2010 at 10:58, David McGlone wrote: > > Hi all, could someone show me how to echo back a constant to check if > > they are assigned correctly? Something like this: > > > > define('SITE_ROOT', dirname(dirname(__FILE__))); >

Re: [PHP] displaying constants

2010-08-28 Thread Daniel P. Brown
On Sat, Aug 28, 2010 at 10:58, David McGlone wrote: > Hi all, could someone show me how to echo back a constant to check if > they are assigned correctly? Something like this: > > define('SITE_ROOT', dirname(dirname(__FILE__))); > > echo 'SITE_ROOT'; > > I tried the echo but it wasn't working.