I require a lottery system to be intergrated into an exchange website.
The project will have 3 parts.
1)members interface, buy/win a ticket.
2) Admin conduct draw and payout.
3) Maint area clean db, create results page.
The members interface will allow a user to purchase tickets with credits or cash. these tickets will be entered into the DB.
and acknowledgement sent or a button to recall the members current ticket holdings.
The admin area will conduct a draw. this will generate the winning numbers. all tickets will then be deemed used. The system will calculate the number of winners and email the member with winings.
3 no.=10 credit, 4=100 credits, 5= 1000, 6= jackpot total of cedits shared with x winning tickets.
credits will be set at 10k and rollup@ 10k pw for the weeks not won. (less prizes paid out) eg not won for 6 weeks/months = 60k
frequency of draw will be a parameter.
clear down databases used, correct / top credits. generate tickets to add to user as rewards.
credits or cash. Weekly or monthly, others may be needed as design
assist to intergrate into existing script. will supply variable names, DB tables and test site.