I'm running a free lottery on my website and here's what I need.
The Form:
The form should show a table with numbers ranging from 1 to 49. Users can only choose exactly 6 numbers. Not more and not less! When a number is selected by the user it should be highlighted in yellow. The numbers that the user has selected should also be shown directly under the table. Their will be a Quick Pick option which will randomly pick 6 numbers for the user if he chooses. The user must input their Name and email address and hit the submit button.
Back End:
As soon as the user clicks the submit button an automated email should be sent to them showing the numbers they have selected and thanking them for playing. The users numbers should now be in a database. Once I have the results for that lottery draw I will require an interface where I can simply input the winning numbers into the system and it will show me anyone who has matched 6 out of 6 numbers or 5 out of 6 numbers and so on. As soon as I input the numbers an automated email will be sent out to all players in that draw telling them that the results are in and to come back to the site to check their ticket. They will then inform me if they are a winner.
I'm doing this just as a hobby for now so I don't have a whole lot of money to spend on it but I've been told this is quite easy for experienced programmers to do. I don't want to spend a lot of money.