How can I sort my database results into something like this using PHP. Basically, I am trying to group the results, and then count the results found in the database.
Starcraft (1)
League of Legends (4)
Minecraft (2)
Call of Duty: Black Ops (1)
I know there is a way, but I can't figure out the logic for this situation. If someone can give me an insight, that would be nice. Thank you!
Here is my SQL Table: