Re: [PHP] Display question

2003-08-01 Thread messju mohr
On Fri, Aug 01, 2003 at 03:00:23AM -0500, John T. Beresford wrote: > Hi All, > > I'm having a hard time wrapping my head around this. I have a query > that returns the following (Sorted by col2): > > col1 col2 > - > house1Com1 > house2Com1 > house3Com2 > hous

[PHP] Display question

2003-08-01 Thread John T. Beresford
Hi All, I'm having a hard time wrapping my head around this. I have a query that returns the following (Sorted by col2): col1col2 - house1 Com1 house2 Com1 house3 Com2 house4 Com2 house5 Com3 house6 Com3 I would like to display it as shown below: Com 1 house1 - Com1 house2