I'm retrieving time off requests from mySQL, which gives me ALL of the dates a person has requested
members m ON c.lo_id = m.member_id
c.event_type <> ''
c.approved = 0
gives me this result
2013-05-24 Vacation 9 John Doe
2013-05-01 Medical 8 Jane Doe
2013-05-02 Medical 8 Jane Doe
2013-05-03 Medical 8 Jane Doe
2013-05-06 Medical 8 Jane Doe
Now, instead of listing ALL of the days each person has off, I'll only need to get the start date and the end date for each person, so that I can print out the following on the web page
Requested Time Off
John Doe: 2013-05-24 (Vaction)
Jane Doe: 2013-05-01 - 2013-05-06 (Medical)
As you can (hopefully) tell by this post, I have no idea how to get the start date and end date and omit the in-between dates for each person.