displaying constants
| From: | David McGlone | Date: | Sat, 28 Aug 2010 14:58:03 +0000 |
| Subject: | displaying constants | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-307723@lists.php.net to get a copy of this message | ||
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.
--
Blessings,
David M.