I am creating a web page which allows you to select a daily report to view. The reports are stored in a directory structure like this:
/year/month/day.xls
First the user must select the year from a drop-down box, then the month, thn the available reports for that month will be in the next drop-down box. This will be done with JavaScript and is not the issue.
The Problem i am having is filling nested arrays with the directory contents in PHP. It sounds like a simple task when you first look at it, but i am not a very experienced programmer and help from anyone who has done something like this before, or an example of how they did it would be excellent. Thanks in advance, Nic