I have the following array ()
Array
(
[0] => stdClass Object
(
[usu_id] => 1
[mod_base] => 1
[mod_id] => 4
)
[1] => stdClass Object
(
[usu_id] => 1
[mod_base] => 1
[mod_id] => 3
)
[2] => stdClass Object
(
[usu_id] => 1
[mod_base] => 1
[mod_id] => 2
)
)
I need to group by the mod_base field. How do I?