Hi folks
I had 2 suggestions from the list:
1) indirection - $constant_value = $$constant_name ;
I had already tried this, but couldn't get it to work. Unless I am
missing something it just gives an "Undefined Variable" error.
2) eval("\$constant_value = $constant_name;") ;
This does work. Thanks Paul!
Geoff Caplan
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]