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

$$foo

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

---------------------------------------------------------------------
michal migurski- contact info and pgp key:
sf/ca            http://mike.teczno.com/contact.html


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

Reply via email to