Re: dynamic variable usage
| From: | Richard Lynch | Date: | Mon, 21 Aug 2006 16:57:24 +0000 |
| Subject: | Re: dynamic variable usage | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-240958@lists.php.net to get a copy of this message | ||
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