Re: dynamic variable usage

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Sat, August 19, 2006 10:49 am, Hiren Parmar wrote:
> i have one problem regarding variable's access ...
>
> i hv defined some varibale like
>
> DEFINE('_xx_USERNAME','Username');
>
> in one file ...
>
> and in another file , i got this variable (_xx_USERNAME) as a value of
> another variable ... like
>
> $filedValue = '_xx_USERNAME' ;
>
> now , the problem is i want the value of _xx_USERNAME in the second
> file ...
>
> that is *Username*...  by using variable $filedValue ...
>
> how could i do this ?

http://php.net/constant

TIP:
ALWAYS read all the "See Also" links for a function when you want a
function related to that function.

-- 
Like Music?
http://l-i-e.com/artists.htm

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php


[Index of Archives]     [PHP Home]     [Apache Users]     [PHP on Windows]     [Kernel Newbies]     [PHP Install]     [PHP Classes]     [Pear]     [Postgresql]     [Postgresql PHP]     [PHP on Windows]     [PHP Database Programming]     [PHP SOAP]

  Powered by Linux