neonpie - 10:09 am on Feb 18, 2011 (gmt 0)
i'm using a mysql db. i have a table which lists all the dates for when a course starts. the field for the date is using the date type. i want to list of the courses in order of date, but under the monthly headings. how can i list distinct dates for the months.
i'm using date('F',strtotime($row['course_date'])) to get the name of the month from the date
how i want it to be out put:
course title - 2011-02-18
course title - 2011-02-25
course title - 2011-03-22