Re: Naming a variable with a variable

From: Date: Tue, 17 Jun 2003 18:22:44 +0000
Subject: Re: Naming a variable with a variable
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-151876@lists.php.net to get a copy of this message
>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

« previous php.general (#151876) next »