Hi there, I have a website that i need to have a user submit some information and upload 2 files. And add the information to the database. what is the best way to do this. Any and all help would be apprechiated. This is a not for profit site. I need to collect the following information.
Name first and last
Age
Address
city
state
zip
How long they have smoked
Have they ever tried to quit
ever use a E-cigerette
And allow them to upload Copy of license and medical note.
Needs to save to database.
I need to be able to check database for name and address to be sure that they havent submitted before
Be able to return them to page if there is a error or previously used name or address.
have script protect from injections, and invalid characters ect.
Send a notice that there submission was recieved to them.
Send a notice that there was a submission recieved to us.
the site is stopsmokinamerica.com
Any help you could provide would be awesome.