I suggested that you:
Put the mail chimp code into a file named mailchimp.inc.php
There should NOT be a <?php at the top. Simply put that code exactly as is, in the file.
This file should be in the same directory as your template.
In the template add: include('mailchimp.inc.php');
- dalecosp likes this