I've got the following structue of array, but i need Get a list of mark value that contains the elements elements that are repeated::
this is my Array base $AsocContData[$s_list_100]
:
array(5) {
[01081] => Array(3){
[id] => 2
[Mark] => 420
[lastUpdated] => 2010-03-17 15:44:12
[dataNext] => Array(2){
[more1] => 54
[More2] => 54
}
}
[00358] => Array(3){
[id] => 6
[Mark] => 500
[lastUpdated] => 2010-03-17 15:44:12
[dataNext] => Array(2){
[more1] => 54
[More2] => 54
}
}
[00277] => Array(3){
[id] => 3
[Mark] => 400
[lastUpdated] => 2010-03-17 15:44:12
[dataNext] => Array(2){
[more1] => 54
[More2] => 54
}
}
[00357] => Array(3){
[id] => 1
[Mark] => 500
[lastUpdated] => 2010-03-17 15:44:12
[dataNext] => Array(2){
[more1] => 54
[More2] => 54
}
}
}
What's the best way for get the List?
So the results look like this:
array(3) {
[0400] => Array(1){
[count] => 1
[element] => '00277'
}
[0420] => Array(1){
[count] => 1
[element] => '01081'
}
[0500] => Array(1){
[count] => 2
[element] =>'00357,00358'
}
}
i have this array sorted from: