MySQL database / php form.
Need to have a php form of editable field(s) form that can read and write from/to a MySQL database.
The php programming will have to read from the MySQL database to see if the random alpaha numeric code was assigned a winning prize.
Then the end user is then prompted to input information into the php forms fields (name, email, phone - and a couple asked questions) which gets stored to the MySQL database that can be easily accessed by the admin.
If a Winning prize was assigned to the alpha numeric code it shows them right away that they won and emails them that they have won with a confirmation code (sends to the email they entered in the email field).
If they are not a winner it asks them to check mark a button field to see if they want to be enter in a random draw, and another check mark button to see if they want to be sent a newsletter.
The MySQL database needs to be be fairly hack proof
Please reply with any questions you may have