How to change Multi-Dimensional Arrays position???
hello everybody i have Multi Dimensional arrays, and i want to show them as a table,let's say this example:
it's working, and it must be in arrays but, when i write the array's
and i want to change array a order by "sort()" function
i don't know how to change the other arrays so it will match to the new order of the array a.
let's say that "sam" now is a and 1981 is b
and after sort() "same" is a i need 1981 to be b
if sonecan can help i'll appiciate it,
Amir thanks for all.
Sunday, October 14, 2007
the question is more like this:
Can i see the position change (for values and there place in the array) that the sort() method did in an array, so i can effect other array's in the Multi-dimensional arrays occrdinally?