I want to print the folder names in a particular folder. For example Folder 1,2,3 are in a folder named ‘New’ I want to print the folder names 1 2 3 using php. Is it possible ? is there any function in php to do that ? any kind of solutions or ideas are very much appreciated.
Share
credit to php.net
Extending this logic,
should echo all directories
The output on my local server is: