Is there a function in php that allows you to read a directory and pass the names of all it's directories into an array. so, if i had a folder like this--->
info for "mypage/mydir/"
[dir]hello
[dir]hello2
[dir]hello3
the function would pass the values "hello","hello2","hello3" into an array.
any help would be appreciated.