- Last post
- 8 Responses
dear php gods
I'm trying to create a php array that recursivley flows down directories and drops them into the array as such
level0 : '
I'm trying to create a php array that recursively flows down directories and drops them into the array and outputs is as a json Array as per the following example:
A friend hooked me up with the following php but i cant get my head around how to nest the arrays as I need them.
can anyone help?
hmm.. do you need the recursive "tree-walking" directory "scanner" to dump everything into a "flat" array, or an array of arrays that reflects the directory tree structure?