NXArmada
02-26-2008, 03:42 PM
Right now I have this query
SELECT DISTINCT YEAR(dt) AS 'Year', MONTH(dt) AS 'Month', DAY(dt) AS 'Day', `dt`, `description` FROM webcalendar_events_ver4 GROUP BY YEAR(dt), MONTH(dt) ORDER BY dt ASC
Which out puts this:
January 2008
2008-01-19 Testing the admin panel today
But I want this
January 2008
2008-01-19 Testing the admin panel today
2008-01-20 Tactics for Members
I have more then one event store in the database using the Date format. But my MySQL query only displays the one event.
And ideas would be great.
I am using PHP btw.
SELECT DISTINCT YEAR(dt) AS 'Year', MONTH(dt) AS 'Month', DAY(dt) AS 'Day', `dt`, `description` FROM webcalendar_events_ver4 GROUP BY YEAR(dt), MONTH(dt) ORDER BY dt ASC
Which out puts this:
January 2008
2008-01-19 Testing the admin panel today
But I want this
January 2008
2008-01-19 Testing the admin panel today
2008-01-20 Tactics for Members
I have more then one event store in the database using the Date format. But my MySQL query only displays the one event.
And ideas would be great.
I am using PHP btw.