i got an gigantic array that i want to sort in a table. Sadly the array is a complete mess right now. The biggest Problem is that in the array there are several cases of this:
array(2) { [0]=> array(1) { [0]=> array(1) { [0]=> string(5) "value" } } [1]=> string(6) "value2" }
for example. My question: is it possible to find cases like this and reduce it to:
array(2) { [0]=> string(5) "value" [1]=> string(6) "value2"}
without loosing the value?
Thanks a lot!