The best way to extract data from MySQL
I have a MySQL db that contains information about whether respondents are coming to an airshow, what days they plan to attend and how will they travel (www.hollisterairshow.com/helpusplan.php . I can export data from this to a spreadsheet as the summary info will only be seen by the organizers but ideally I'd like to create a page that will summarize responses. Something like this:
Saturday
Autos: xxxxx Occupants: yyyyyy
Aircraft: xxxxx Occupants: yyyyyy
Other: xxxxx Occupants: yyyyyy
Sunday
Autos: xxxxx Occupants: yyyyy
Aircraft: xxxxx Occupants: yyyyy
Other: xxxxx Occupants: yyyyy
Camping: xxxxx Occupants: yyyyy
How did you hear about the Airshow:
Radio: xxx TV: xxx Newspaper: xxx Magazine: xxx Internet: xxx Other: xxx
I thought I would create a couple of recordsets, one for respondents who will attend on Saturday and the other for respondents who will attend on Sunday then all I'd need to do is count the number of respondents and sum the number of occupants for each recordset, and count/ sum campers for the whole file and similarly for the "how did you hear about it" question. Is this the best way or am I missing a more elegant solution?
Thanks,
Tony
