chasethemetal Posted December 17, 2011 Report Share Posted December 17, 2011 (edited) 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 /> Edited December 17, 2011 by chasethemetal Link to comment Share on other sites More sharing options...
niche Posted December 17, 2011 Report 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
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now