I have a pre-registration form on my website that collects "Name", "Email", and "Zip Code". I need these fields stored in a db. Each user who pre-registers also gets a $10 credit for their first purchase. So there needs to be some kind of flag in the db that tracks that the user has pre-registered.
After a user pre-registers they should be brought to a thank you page with a tell a friend form on it. This form should have a headline that says "Get a friend to sign up and receive another $10 credit". There should be 5 text boxes with one label that says "Enter up to 5 of your friends emails". If one of the users friends signs up the database needs to set another flag. The user will not have the ability to use the 2 $10 credits toward the same deal, so the db needs to be set up so i can see who is getting the $10 credit for preregistration and who is getting the $10 deal for getting a friend to signup.