K
K
Kirill Gorelov2016-04-26 19:42:47
PHP
Kirill Gorelov, 2016-04-26 19:42:47

How to display all folders and tree view via RecursiveDirectoryIterator class?

Hello. How can I list files and folders in a tree like this prntscr.com/ax4jx1 (Source wwwendt.de/tech/dynatree/doc/samples.html) via the RecursiveDirectoryIterator class?
If this class simply outputs the path of folders and files. How can I display them like this?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
A
Alexander Movchan, 2016-04-26
@Alexander1705

Here , here is a good description, and there is an example.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question