I have a huge array that I need to print out. The print_r works except that it actually prints out the locatin within the array ie:
Array ( [0] => 1971 EXTS
[1] => ddd
[2] => abc
[3] => def
[4] => ggg
[5] => bbb
Array ( [0] => 1971 EXT
[1] => bscc
[2] => sddd
[3] => d3ddc
However, I want to print out the entire array without the [2] => part of it. But this is a huge multidimensional array, so I'm not sure exactly how to do that.
Basically what I am doing is writing a script that prints out all of the files in a directory and all subdirectories. And i am storing them into an array and formatting them as html links. Since i have hundreds of directories with thousands of html files in each directory I want to be able to run this script so I can make a static sitemap file of all the files in those subdirectories...
So I want to echo all of the links out to a page so that I can copy them into a sitemap file....
So anyone know how I can do this? I could easily loop through the array if it was single dimensional, but don't know how to do this multidimensionally...