Jump to content

Group By Issues

Recommended Posts

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 by chasethemetal
Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

  • Create New...