I have a MySQL table with the following:
1 | 2005-04-28 | Welcome to my site
2 | 2005-05-18 | May is apon us!
3 | 2005-09-04 | Back to school
4 | 2005-09-01 | Better get your School supplies ready
The second column is in 'DATE' format.
What I need to do is query the table and list it like this:
APRIL 2005
Welcome to my site
MAY 2005
May is apon us
SEPTEMBER 2005
Better get your school supplies ready
Back to school
I just want it to take the first month in the database and the last month and query through each month and if found, group it by month and display a title of the month/year and then list each entry of that month.
I hope I have explained it correctly in enough detail.
Thanks all for your help!