My 1st php assignment is this, and i have no clue on how to do it..
Use the data file provided and count the number of skaters, by gender, in each of the events in the file.
You should just display a list of each event with the number of females and the number of males in each of the events.
This is the file we use:
pfsc_entries.dat
Sally Screen f pr no
Bob Bios m jr sr
Chuck Chip m in in
Doug Disk m no ab
Pam Power f nv in
Jessica Jumper f no jv
Pat Pentium m sr sr
Heather Hard f pp pp
Nate Network m ab no
Martha Memory f nv nv
Vince Video m nv jv
Zach Zipdrive m jr jr
Frank Fan m jv no
Edward Ethernet m jv jv
Chris Compaq m nv jr
Brittany Buffer f no nv
Jeff Jumpdrive m jv nv
and this is what the result should look like when the php is complete:
Number of Contestants Entered in Each Event
Interpretive Showcase
Level Females Males Females Males
Badge A & B 0 1 0 1
Pre-Preliminary 1 0 1 0
Preliminary 1 0 0 0
Pre-Juvenile 0 0 0 0
Juvenile 0 3 1 2
Intermediate 0 1 1 1
Novice 2 2 2 1
Junior 0 2 0 2
Senior 0 1 0 2
PLEASE HELP ME!!!!