A table version is easy... <table><tr> <cfoutput query="get_members_advanced" group="contact_type_id"> <td><h2>#contact_type#</h2> <cfoutput> #contact_surname# <br /></cfoutput> </td> </cfoutput> </tr><table>
You can do it with divs and css as well I am sure... Hopefully this will give you a start if that is what you need... Brett B) seamus wrote: > I have a grouped query which displays fine but in a single column. > I want to display each group in a new column, but I can't work out how > to do this > > I originally had this - > <cfoutput query="get_members_advanced" group="contact_type_id"> > <h2>#contact_type# </h2> > <cfoutput> #contact_surname# <br /> > </cfoutput> > </cfoutput> > > But this gave me a single column - I want each new contact_type to > display in a new column so if 4 different contact_types - 4 columns. > And the number of columns will vary from 1 - 6 depending on the search > criteria. Hope this makes sense? > > ta Seamus > > > > > -- Brett Payne-Rhodes Eaglehawk Computing t: +61 (0)8 9371-0471 m: +61 (0)414 371 047 e: [email protected] w: http://www.yoursite.net.au --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "cfaussie" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/cfaussie?hl=en -~----------~----~----~----~------~----~------~--~---
