I have a query:
<cfquery name="qSessionInfo">
select distinct(Location),SessionDate
from Session
order by SessionDate desc
</cfquery>
that returns results like this:
dec 1,2001 new york
dec 1,2001 chicago
dec 1,2001 los angles
nov 1,2001 new york
nov 1,2001 chicago
nov 1,2001 los angles
oct 1,2001 new york
oct 1,2001 chicago
oct 1,2001 los angles
.
.
.
I want to produce a table that would display the information like this:
dec 1,2001 new york chicago los angles
nov 1,2001 new york chicago los angles
oct 1,2001 new york chicago los angles
I am having a major brain fart this morning and can't think how to start this, any ideas? Do I need to create a stuct? an array?
jgroove
<cfquery name="qSessionInfo">
select distinct(Location),SessionDate
from Session
order by SessionDate desc
</cfquery>
that returns results like this:
dec 1,2001 new york
dec 1,2001 chicago
dec 1,2001 los angles
nov 1,2001 new york
nov 1,2001 chicago
nov 1,2001 los angles
oct 1,2001 new york
oct 1,2001 chicago
oct 1,2001 los angles
.
.
.
I want to produce a table that would display the information like this:
dec 1,2001 new york chicago los angles
nov 1,2001 new york chicago los angles
oct 1,2001 new york chicago los angles
I am having a major brain fart this morning and can't think how to start this, any ideas? Do I need to create a stuct? an array?
jgroove