Jump to content

Creating a report with group by ID


jcjst21

Recommended Posts

I have been searching the forums to find how to group a table by ID and list each record associated with it.

 

All I have been finding is how to group by and using it to do a sum or average or count.

 

What I want to do is,

 

Group By ID, and list each associated row...

 

Example:

 

Group A:

 

  -Person A

  -Person B

 

Group B

 

  -Person C

  -Person D

 

 

I tried multiple variations of a while loop without success...

 

any advice?

 

 

Link to comment
https://forums.phpfreaks.com/topic/265847-creating-a-report-with-group-by-id/
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.