Posted by John Holmes on 10/20/41 11:05
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
Navigation:
[Reply to this message]
|