I get this array, but I want to show me KEY and all subitem of that KEY bellow, I dont want every time to repear a key, I need that key shows only one and all others entity that has same key under this one.
array(2) {
[0]=>
array(1) {
["A"]=>
string(2) "Test1"
}
[1]=>
array(1) {
["A"]=>
string(2) "Test1"
}
}
I want something like this:
array(2) {
[0]=>
array(1) {
["A"]=>
string(2) "Test1",
string(2) "Test2"
}
}