Variable referencing/substitution

From: Date: Sun, 20 Jan 2002 04:43:44 +0000
Subject: Variable referencing/substitution
Groups: php.general 
Request: Send a blank email to php-general+get-81255@lists.php.net to get a copy of this message
How can this be done? If I have the name of a variable that is stored in an array, how do I use the stored value to represent the actual variable? Example: $variable = "old value"; $vNames[1] = '$variable'; //literal $variable I want to say $vNames[1] = "new value"; /and have $variable actually change. How? -- Gaylen gfraley5@earthlink.net Home http://www.gaylenandmargie.com/ PHP KISGB v3.1 Guest Book http://www.gaylenandmargie.com/phpwebsite/

« previous php.general (#81255) next »