Im’ lloking for at first a very good database design for the soccer betting system, after this I would like to implement the script to bet.
This is how it will work.
I’ll have users registering on my website. The website will be for soccer fans where upon their registration I’ll assign each user 30 points so they can bet on soccer matches.
For each soccer match I’ll have three odds (1) (X) (2).
(1) is Home Win
(X) is Draw
(2) is Away Win
For Example: Barcelona – Juventus (1) 1.50 (X) 3.50 (2) 2.75
So the odds for Barcelona to win at Home are 2.10, to Draw the game is 3.50 and for Juventus to win Away is 2.75
If user selects Inter to Win which is (1) and bets 2 points his possible payout would be (1.50 x 2) 3.00 points.
When the user submits the bet of 2 points, his account will reload and it will add the 2 points to his quota.
I only need functionality, no design required.
If you are not an expert in Javascript/PHP don’t bid.
the script should be integrated with paypal, and any other payment method.
It’s really very easy and it will take abour 2 hours and not more.
All you need to do is a simple database as follow:
Table1 with (Table1ID, team1, team2, number);//number is the minumum of games you have to choose to bet
Rate1 with (Table1ID, x1,x2,x3,begin_game,date);
UserRate (ID,UserID,Table1ID,X,Bet);// X for x1,x2 or x3
User (UserID, Name, LastName, Login, email);
Authentication (UserID,Password:crypted),
Account (AccountID, UserID,Amount);
Job Type:
* ASP
* Java
* Javascript
* PHP
* MySQL
like this site http://toto.org.il/ 100% but work with virtual bank ( libertyreserve )