Ok, lets say I have a list of records that go back as far as a year. I set up a script that allows me to view these records, but instead of viewing all of them at once I'd rather have an organized list according to date.
Here is a sample of what I'm talking about :
Year 2002 <-first organize by year
January <-then by month
February
March
November
Year 2001 <-loop to the next year and start again and so on.
July
This information is stored in a MySQL database. The values of the date fields are timestamps using PHP's time(); function at record generation.
I'm no new to PHP/MySQL, but I am new to using this method of organized listings, I've racked my brains out over this. Perhaps you more advanced life forms could help me out.