On Wed, 11 Aug 2004 06:54:35 -0500, Jay Blanchard <[EMAIL PROTECTED]> wrote: > [snip] > Sure, define them outside the function :) > [/snip] > > I have not tried this (we usually place constants in a section of the > code external to any function) but are you saying that if a constant is > defined within the bounds of a function it is not global? >
Yes, it is global. The OP was not calling his function. > -- > PHP General Mailing List (http://www.php.net/) > To unsubscribe, visit: http://www.php.net/unsub.php > > -- DB_DataObject_FormBuilder - The database at your fingertips http://pear.php.net/package/DB_DataObject_FormBuilder paperCrane --Justin Patrin-- -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php