Thanks, that really helped! However, it has two small problems. It lists files, as well as directories (I just want directories) in the array. And two, it echos the directories like so:
Array
(
[2] => SKIN_ONE
[3] => SKIN_TWO
[0] => background.gif
[1] => header_dark.gif
)
My guess is that (assuming it only reads the directories) I would have to count the length of the array and echo them in a for loop?