a value of variable as a name of variable
| From: | petr dot juza at worldonline dot cz | Date: | Wed, 15 Nov 2000 10:50:24 +0000 |
| Subject: | a value of variable as a name of variable | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-25407@lists.php.net to get a copy of this message | ||
I have variable with this value:
$quality[1]="weight";
$vl_hod="$quality[1]";
And I want use the value(!!) of variable $vl_hod as a name of
variable for the next use. Is it possible to do it?
For example:
???echo $vl_hod;????
I want that the output of "echo" was the value "weight" and
no the value "$quality[1]".
Please, can somebody help me?
Thank you very much?
-------------------------------------------------
Tento e-mail byl odeslán ze serveru www.worldmail.cz