I know the basics of php and mySql, and I want to create a database-driven website for a football pool. The pool works where each "user" picks four teams to win each week. My question is what is the best way to setup the tables? Obviously there will be one table for Users (with their name and ID and whatnot). But then should I have one separate table for each user's picks with fields like Week 1 Pick 1, Week 1 Pick 2, etc, etc? (there would be 68 picks totals, i.e. 17 weeks x 4).
Or is there someway that I can have one huge table with ALL users picks in it?
Any info would be appreciated?
The key is that i need to retrieve these picks each week and display the current "Standings" on the webpage.
Tags: