lindsaycb
03-17-2009, 07:16 PM
I have a MySQL table. The fields in the table include the following:
playerName, rostSport, college, years, Reb, RPG...
For each year that the student was at school, I have put in the database their stats for Rebounds & Rebounds Per Game and so on. So some students are listed 4 times, for each year they played.
I have a table that has their name dynamically created by another bit of PHP code. Their names are only listed once. http://www.kishwaukeecollege.edu/athletics/basketball-mens/past_kougars.shtml (click on T. J. Collins)
I would like to be able to combine all rows that include their name together in one table. Right now it's only showing the row that matches their ID from the link. http://www.kishwaukeecollege.edu/athletics/past_player.shtml?id=5
Is there a way to combine all rows when the name matches into one HTML table??
playerName, rostSport, college, years, Reb, RPG...
For each year that the student was at school, I have put in the database their stats for Rebounds & Rebounds Per Game and so on. So some students are listed 4 times, for each year they played.
I have a table that has their name dynamically created by another bit of PHP code. Their names are only listed once. http://www.kishwaukeecollege.edu/athletics/basketball-mens/past_kougars.shtml (click on T. J. Collins)
I would like to be able to combine all rows that include their name together in one table. Right now it's only showing the row that matches their ID from the link. http://www.kishwaukeecollege.edu/athletics/past_player.shtml?id=5
Is there a way to combine all rows when the name matches into one HTML table??