Hi All,

I am a PHP newbie. Say you have the following file structure:

Counting Crows (artist)
Hard Candy (album)
Hard Candy.mp3 (song name)
American Girls.mp3

David Gray
White Ladder
Please Forgive Me.mp3
White Ladder.mp3


I need some suggestions on how to read this file structure either into an array or possibly just to update a MySQL database and then read the database. I will constantly be adding or subtracting files so I want to try and make it as dynamic as I can.

Suggestions, comments, code?