Re: Building key sequences from strings
| From: | John Holmes | Date: | Tue, 11 Jan 2005 22:17:21 +0000 |
| Subject: | Re: Building key sequences from strings | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-206122@lists.php.net to get a copy of this message | ||
Bruce Cooper wrote:
I'm trying to set up a custom sort for multi-level [i.e. nested] arrays. The problem is I can't seem to get PHP to recognize syntax such as follows $test=$test_array.'[index][next]';Maybe $test = ${$test_array.'[index][next]'}; -- ---John Holmes... Amazon Wishlist: www.amazon.com/o/registry/3BEXC84AB3A5E/ php|architect: The Magazine for PHP Professionals – www.phparch.com