Building key sequences from strings

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Oh wise and widely knowledgeable list:

  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]';

 The above example is greatly simplified.  In the real world I'd be dynamically building that string to pin on the end.[i.e. I'd like to be able the drill down to a depth determined from inside a function rather than having to hard-code it]  I'm all confused.  The same type of syntax works for other variable types....

What am I doing wrong ?

:Bruce Cooper

_______________________________________________
Join Excite! - http://www.excite.com
The most personalized portal on the Web!

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php


[Index of Archives]     [PHP Home]     [Apache Users]     [PHP on Windows]     [Kernel Newbies]     [PHP Install]     [PHP Classes]     [Pear]     [Postgresql]     [Postgresql PHP]     [PHP on Windows]     [PHP Database Programming]     [PHP SOAP]

  Powered by Linux