0

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!

Linus
  • 5
  • 3
  • yes it does! thank you very much! i had no idea on how to describe my problem beforehand. – Linus Aug 29 '21 at 13:49

0 Answers0