Jump to content

grouping database data


jwk811

Recommended Posts

i have a column with different data examples

 

ex1

ex2

ex1

ex2

ex1

ex2

 

when i select it i want to group them by the name so they will come out like this..

 

ex1

ex1

ex1

ex2

ex2

ex2

 

i thought thats what "group by" was for but it only brought up one of the data each like this

 

ex1

ex2

 

how can i do this? thanks!

Link to comment
https://forums.phpfreaks.com/topic/217626-grouping-database-data/
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.