chasethemetal Posted December 17, 2011 Share Posted December 17, 2011 Hey all I'm having some problems grouping some information. The structure is like so..... We have a Persons column, and a Houses column in mysql. Everyone row has the persons name which is unique and a house. I am trying to figure out a way to echo the persons name once with all associated houses below. I am trying to figure out a way to get this information formatted like below but OUTSIDE the loop. Persons 1<br />House 1<br />House 2<br /> and Person 2<br />House 1<br />House 2<br />House 3<br /> Link to comment Share on other sites More sharing options...
niche Posted December 17, 2011 Share Posted December 17, 2011 That's pretty straight forward. For starters, do you have your table in the desired order? Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.