Need help to integrate Cc API with a php opt-in checkbox

Highlighted
Occasional Organizer

Need help to integrate Cc API with a php opt-in checkbox

Hi everyone!!

 

I am trying to integrate Constant Contact with my sign up form on my website. I want that under the sign up email form people can check a checkbox to subribe to my newsletter.  How can I add that email to my list without any other message or notification. Can any one plase help?

 

I know I can start with something like this:

 

 

if(isset($_POST['newsletter'])){
        foreach($_POST  as $key =>  $val){
           $$key = $val;
        }

 

I've been trying to integrate this myself but no luck so far. Is anyone kind enough to help me please :) Tank you!

Developer Portal

View API documentation, code samples, get your API key.

Constant Contact Would Like To Hear From You!

We want to hear from customers like you about your favorite features and how they have helped your business or organization. Tell us by answering a few questions in...

Read More
Featured