Sorting a 2 dimentional ARRAY
Posted: Sat Mar 24, 2007 9:30 am
Hi There
I have results stored in a 2 dimension array eg:
I would like to sort the array while preserving key correlation by on the string key (Name) How can i implement it ?
Tnanks
moshe
I have results stored in a 2 dimension array eg:
Code: Select all
$MYARRY[Name][0]="mosuje";
$MYARRAY[UserID][0]=1;
$MYARRAY[Name][1]="avi";
$MYARRAY[UserID][1]=2;
Tnanks
moshe