|
Posted by Erwin Moller on 10/01/09 11:40
iavian wrote:
> $a[0][0][0] = "A";
> $a[0][0][1] = "B";
> $a[0][0][2] = "C";
> $a[0][1][0] = "D";
> $a[0][1][1] = "E";
> $a[0][1][2] = "F";
> $a[1][0][0] = "A";
> $a[1][0][1] = "B";
> $a[1][0][2] = "C";
>
>
> it grows like .. i want to sort it
And what do you excatly mean by sorting?
I am not teasing, but WHAT do you expect to roll out after the sorting?
Another array?
How is that structured?
Look, if I go straight ahead with your above example I get:
$a[0][0][0] = "A";
$a[1][0][0] = "A";
as first too elements, but both originate from a different array.
What is it you expect/want as output?
So try to formulate what it is you want exectly as output.
While formulating that, the problem might just dissolve. :-)
Regards,
Erwin Moller
Navigation:
[Reply to this message]
|