Check out :

    http://php.net/manual/en/language.variables.variable.php

Example :

    $a  = 'hi';

    $$a = 'sup';

$hi now equals 'sup'


Regards,

Philip Olson
http://www.cornado.com/

On Sun, 4 Mar 2001, Ed Lazor wrote:

> I'm studying some code from the net and was kinda curious.  There are 
> places where it references variables like this:
> 
>       $$testvar
> 
> What's the difference between that and
> 
>       $testvar
> 
> ?
> 
> -Ed
> 
> 
> -- 
> 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]
> 



-- 
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]

Reply via email to