On Sat, Aug 28, 2010 at 10:58, David McGlone <da...@dmcentral.net> 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.
To get the assigned value? Drop the quotes. -- </Daniel P. Brown> Dedicated Servers, Cloud and Cloud Hybrid Solutions, VPS, Hosting (866-) 725-4321 http://www.parasane.net/ -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php