0
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 do?
http://sandbox.onlinephpfunctions.com/code/020233e12163ed214345261b1738be6c0a3bea09
– user60252
You need to group by mod_base, but, which layout you want it to look like, what would be the result?
– novic