I want to group the data with the same code as this array, I've tried several ways, but so far nothing. Anyone have an idea?
array (size=5)
0 =>
array (size=2)
'CODIGO' => string '231' (length=3)
'NOME' => string 'Mary' (length=22)
1 =>
array (size=2)
'CODIGO' => string '188' (length=3)
'NOME' => string 'Bernardino' (length=16)
2 =>
array (size=2)
'CODIGO' => string '188' (length=3)
'NOME' => string 'Carlos' (length=19)
3 =>
array (size=2)
'CODIGO' => string '93' (length=2)
'NOME' => string 'Alessandra' (length=17)
4 =>
array (size=2)
'CODIGO' => string '93' (length=2)
'NOME' => string 'Aparecida' (length=9)
5 =>
array (size=2)
'CODIGO' => string '93' (length=2)
'NOME' => string 'Raquel' (length=12)
Thanks in advance!