how to display a list of names by category
I'm creating a facility for an airshow web site where volunteers can apply online and specify their preferred activity. The airport manager will then assign the volunteers to an activity and we'd like to display the list of people assigned to each activity, by day - as the airshow runs for 3 days. There are about 10 activities.
I know I could create about 30 recordsets (10 for each day) and then display the list of names for each activity in a table, but it seems to me there should be a more elegant way. I'm thinking I could create 3 recordsets, one for each day and then display a list of names sorted by volunteer name within activity. Basically I'd like to have something that looks like this for each day:
Activity 1
- name 1
- name 2
- name 3
Activity 2
- name 4
- name 5
Activity 3
- name 6
etc
I'm using DW CS4 with PHP/MySQL.
Thanks so much for any assistance before I start creating 30 recordsets.
