I have this array call $aSumGame :
Array
(
[682] => Array
(
[nature] => 682
[totalGames] => 3
[category] => super
)
[707] => Array
(
[nature] => 707
[totalGames] => 2
[category] => event
)
[728] => Array
(
[nature] => 728
[totalGames] => 2
[category] => event
)
)
Now I want to get the array who have the max number of column totalGames, in this case I want to get the array with the key 682. I tried like this $aMaxGame= max($aSumGame['totalGames']); but not work. Can you help me please ?