I'm looking for a PHP coder that can create me a fantasy golf script. Here is what I need. I will try to be as detailed as possible. Please ask questions if you don`t follow something.
A.) User login/New user sign form -
B.) User chooses one player from a two player list (match)
Ex. Tiger Woods vs. Phil Mickelson (maybe radio button selection or checkboxes). They do this for 9 different lists. Example here
[url removed, login to view]
C.) Make sure user selects one player from each match - if not display error message like `please select 1 player from each match`
If they have done everything correctly display something like `Thank you etc. etc.`
D.) Store that information in a simple database
ex. User1Week1=match1(player1), match2(player4),match3(player6), match4(player7), match5(player10)
Admin or backend
A. Allow me to add 2 players for each match (this will change each week so I have to be able to reset it after every week.
Week1-Match1 = Player 1= (Tiger Woods) vs. Player 2= (Phil Mickelson)
Week1-Match2 = Player 3=(name here) vs. Player 4=(name here)
Week1-Match3 = Player 5=etc vs. Player 6=etc.
Week1-Match4 = Player 7=etc vs. Player 8=etc.
Week1-Match5 = Player 9=etc vs. Player 10=etc.
B.) Allow me to enter the scores for each player for example. Tiger Woods 72, Phil Mickelson 69.
C.) After I enter all the scores then execute code where checks each players scores in each match. The Lowest score wins. Then check the users picks and sees if they`re correct and gives them 5 points for correct answer.
example If Phil Mickelson chosen then +5 point for user1
D.)add total points for the user, for that week (week1), and add it to previous weeks total maybe something like totalpoints=totalpoints+week(n) then just increment week(n) after each week by 1.
e) Display totalpoints for each user as well as weekly points for each week. Display in users log in.
f) sort totalpoints for all users, display highest to lowest.
That is about it. I`m sure you will have alot of questions, but I think it seems pretty straight forward for someone with good knowledge of PHP.
Thanks for reading.