Re: [PHP] manipulating constant name as string

2006-01-02 Thread Al
Tom Rogers wrote: Hi, Monday, January 2, 2006, 4:37:17 AM, you wrote: DG> Hello DG> I am trying to access the constant name as string and not the constant DG> contents. For example, DG> define('myconst', 'const text 1'); DG> $myArray = array() DG> myArray['myconst'] = "this is it" DG> etc.

Re: [PHP] manipulating constant name as string

2006-01-01 Thread Tom Rogers
Hi, Monday, January 2, 2006, 4:37:17 AM, you wrote: DG> Hello DG> I am trying to access the constant name as string and not the constant DG> contents. For example, DG> define('myconst', 'const text 1'); DG> $myArray = array() DG> myArray['myconst'] = "this is it" DG> etc. DG> $xmltext=""; DG>