Jump to content

Recommended Posts

ok, I wanted to do a little project and wondered how the database should be designed.

I am a good php coder so the actuall coding of the project would only take a day. However I always struggle with the database design.

 

Ok, basically I want to create a "world cup 2010" project. basically my friends put down their predictions of each game. and depending on the outcome would depend on the points earned.

 

what would the best way to design the database be?

 

any assitance would be appreciated

 

thanks in advance

 

jmcall10

Link to comment
https://forums.phpfreaks.com/topic/204894-database-design-help/
Share on other sites

teams (team_id, team_name)

games (game_id, game_date_time, game_team1_id, game_team2_id)

bets (bet_id, bet_score_team1, bet_score_team2, bet_game_id, bet_user_id)

 

I am not a football fan nor do I know how the world cup works, but this may help you on your way.

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.