There are two main parts to this job. One is to modify the Mailchimp subscription form that I've coded. I need you to use the API to switch off the opt-in.
We also need a PHP form coded to send an email and perform some database submission.
Please read the attached document for full details.