This is kind of a weird thing to do, but it is necessary for a webpage that I am making.
Is it possible for me to store the names of directories into a variable using php. Only directory names, not file names.
Example of what directory looks like:
------------------------
(dir)School
(dir)Music
(file)index.html
(file)Song.mp3
(dir)Videos
-----------------------
Variable should output as: "School Music Videos".
Thanks.
Is it possible for me to store the names of directories into a variable using php. Only directory names, not file names.
Example of what directory looks like:
------------------------
(dir)School
(dir)Music
(file)index.html
(file)Song.mp3
(dir)Videos
-----------------------
Variable should output as: "School Music Videos".
Thanks.