How do you subscribe and assign subscriber to group with the mailchimp api?

Enrispori

New Member
I am attempting to use the API in PHP to subscribe and assign a subscriber to a group.I need to be able to create the group on the fly and I'm trying something like the following with not much success:\[code\]// include other relevant files here$merge_vars = array( 'FNAME'=>$name[0], 'LNAME'=>$name[1], 'INTERESTS'=>'', 'GROUPINGS'=>'Pets' );\[/code\]If I remove the 'groupings' from the Array, the subscribing works just fine - so we've got that going... but how do we do groups?Thanks for your time
 
Back
Top