Sorry, my original post didn't make my output very clear

Ok, I have  a pretty basic question, but haven't used it much in the past so
I am needing alittle help.

I have a query:

<cfquery datasource="datasource" name="getitems">
    Select header,type,id,name
    from items
</cfquery>

Each item coming from the above query has a header value, and I want to
display the results as such:

EACH row has a header, and possibly different header values .. thus I want
to group by header and display the header value (one for each group of
items)

HEADER1
    ID/type/name2
    ID/type/name 3
HEADER2
    ID/type/name 4
    ID/type/name 5
    ID/type/name 6
HEADER 3
blah blah

How do I do this without multiple queries...

Thanks (I know it's basic)

Paul Giesenhagen
QuillDesign
http://www.quilldesign.com
SiteDirector - Commerce Builder

______________________________________________________________________
Why Share?
  Dedicated Win 2000 Server � PIII 800 / 256 MB RAM / 40 GB HD / 20 GB MO/XFER
  Instant Activation � $99/Month � Free Setup
  http://www.pennyhost.com/redirect.cfm?adcode=coldfusionc
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq
Archives: http://www.mail-archive.com/[email protected]/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists

Reply via email to