Hello,
I need a php code for a web page to collect customer information. This page is entering a contest, and news letter. There are three parts to this project,
First Public Side, php code for data collection on web page. Fields needed
First Name
Last Name
Address 1
Address 2
City
State
Postal Code
Country
Email
Confirm Email
Phone Number
Also three Check boxes that need to be checked before information can be stored to MySQL database.
Check Box 1, Verbiage to be determined
Check Box 2, Verbiage to be determined
Check Box 3, Please keep informed with the news letter of specials.
In the database, there needs to be a field that tells if customer wants to be notified or not for emails sent.
Also after customer is finalized, a confirmation email is sent to them. Also in email a unsubscribe link is there if they want to be removed from further emails.
Second Admin Side, needs to be able create and send html email to all subscribed to news letter or send to a individual.
Needs a download button with will take the complete customer list and export to a csv file for download.
Third, end of the month I need the system to randomly pick a customer in the database and email to me (admin) the persons details. I believe I will need to add to my cronjob for this feature.
Please feel free to ask any questions.
Jr