I've got a simple database table with only 3 columns (team_id, question_id, answer). I would like to display the data as following;
Team 1
1 (question_id) - blablabla (answer)
2 (question_id) - blablabla (answer)
""
Team 2
1 (question_id) - blablabla (answer)
2 (question_id) - blablabla (answer)
etc.
What is the best way to setup a nice foreach loop?