$$foo or ${$foo} somethinbg like that ?

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

R'twick

----- Original Message ----- 
From: "Antti" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Tuesday, June 17, 2003 2:19 PM
Subject: [PHP] Naming a variable with a variable


> Ho can I create (name) a variable with other variables value?
> 
> If $foo = "bar";
> 
> then the variable I want to create is $bar.
> 
> How do I do this?
> 
> -antti
> 
> 
> -- 
> PHP General Mailing List (http://www.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php
> 
> 


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

Reply via email to