Reply
Occasional Organizer
RandolphH
Posts: 1
Registered: ‎12-30-2011

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!