[pmwiki-devel] php multi-dimensional array construction problem

Hans design5 at softflow.co.uk
Thu Feb 5 09:00:49 CST 2009


Thursday, February 5, 2009, 2:28:34 PM, Daniel wrote:

> $string = "k1:k2:k3:...:kn";
> $array = explode(":", $string);

> //Contents of $array is now:
> // Array
> ....

PS: sorry I was not clearer in my original post.
I do not want to construct a flat array, but I want to access
or set an 'n deep element' of an array, with the series of keys
provided by the string.


Hans




More information about the pmwiki-devel mailing list