title: How to get the Mailchimp member information with each list subscribtion status?
body: <p>How to get the Mailchimp member information with each list subscribtion status?</p>
  
  <pre><code>$mailChimp = new MCAPI($this-&gt;api_key);
  $listid = 'xxxxxxxxxx';
  $retval = $mailChimp-&gt;listMemberInfo( $listid, 'yourname@gmail.com' );
  
  if ($this-&gt;_mailChimp-&gt;errorCode) {
     $error['Code'] = $this-&gt;_mailChimp-&gt;errorCode;
     $error['Message'] = $this-&gt;_mailChimp-&gt;errorMessage;
     return $error;
  }
  
  print_r($retval);
  </code></pre>
  
  <p>Return array:</p>
  
  <pre><code>Array
  (
      [id]        =&gt; xxxxxxxxxx
      [email]     =&gt; yourname@gmail.com
      [email_type]=&gt; html
      [ip_opt]    =&gt; xxx.xxx.xxx.xxx
      [ip_signup] =&gt; 
      [member_rating] =&gt; 2
      [info_changed] =&gt; 2013-09-23 12:08:28
      [web_id]    =&gt; xxxxxxxx
      [merges]    =&gt; Array
          (
              [EMAIL]  =&gt; yourname@gmail.com
              [MERGE0] =&gt; yourname@gmail.com
              [FNAME]  =&gt; Firstname
              [MERGE1] =&gt; Firstname
              [LNAME]  =&gt; Lastname
              [MERGE2] =&gt; Lastname
          )
  
      [status]    =&gt; unsubscribed
      [timestamp] =&gt; 2013-09-23 12:08:28
      [lists]     =&gt; Array
          (
              [xxxxxxxxxx] =&gt; subscribed
              [xxxxxxxxxx] =&gt; subscribed
              [xxxxxxxxxx] =&gt; subscribed
          )
  )
  </code></pre>
  
  <p>But here I don't know how to check that which List I have subscribed and Which is Unsubscribed. Because</p>
  
  <pre><code>[lists]     =&gt; Array
      (
          [xxxxxxxxxx] =&gt; subscribed
          [xxxxxxxxxx] =&gt; subscribed
          [xxxxxxxxxx] =&gt; subscribed
      )
  </code></pre>
  
  <p>Here all the lists are not match with my Original Lists Id getting list using</p>
  
  <p><code>lists()</code> method of Mailchimp</p>
  
  <pre><code>$retval = $mailChimp-&gt;lists();
  </code></pre>
  
  <p>Can anyone has idea how to check that <code>my email id: 'yourname@gmail.com'</code> has subscribed to this lists and unsubscribed to this list.</p>
  
  <p>I want to know the status of each list by given <code>List_ID and Email_ID</code></p>
  
  <blockquote>
    <p>I have used PHP as technology.</p>
  </blockquote>