Re: A variable inside a variable?
| From: | Adam Zey | Date: | Mon, 26 Jun 2006 19:02:55 +0000 |
| Subject: | Re: A variable inside a variable? | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-238655@lists.php.net to get a copy of this message | ||
Alex Major wrote:
Thanks for your help with my other question, heres a new one for you. I need to nest a variable, inside another variable. For example: $($buildingname)level How (if at all) is this possible? Thanks. Alex.Why? What are you doing that requires that that cannot be done with associative arrays? As in, what is wrong with: $level[$buildingname] (I'm only guessing at the correct naming scheme) Regards, Adam.