I have a nested array in PHP. I want to export all of the contents to a csv. I am able to export fine. However, it is only taking all but the last array. It is getting chopped o