title: Mandrill appears to be breaking a MySQL Select
body: <p>I have stripped this right down, to try and find the source of this issue, but can not pin point it at all.</p>
  
  <p>This successfully echos each of the IDs</p>
  
  <pre><code>$result = mysqli_query($con,"SELECT id FROM users");
  
  // Each user matching criteria
  while($row = mysqli_fetch_array($result))
  {   
      echo $row['id'];
  }
  </code></pre>
  
  <p>However when I include Mandrill it stops working, however I will still get the first ID echo'd</p>
  
  <p>// Search Database for users who signed up yesterday
      $result = mysqli_query($con,"SELECT id FROM users");</p>
  
  <pre><code>// Each user matching criteria
  while($row = mysqli_fetch_array($result))
  {   
      echo $row['id'];
    include($_SERVER['DOCUMENT_ROOT'].'/src/Mandrill.php');
    $mandrill = new Mandrill('hidden');
  
    try {
        $template_name = $content_template;
        $message = array(
            'html' =&gt; '&lt;p&gt;Example HTML content&lt;/p&gt;',
            'text' =&gt; 'Example text content',
            'subject' =&gt; 'test',
            'from_email' =&gt; 'hidden',
            'from_name' =&gt; 'hidden',
            'to' =&gt; array(
                array(
                    'email' =&gt; 'hidden',
                    'name' =&gt; 'Tim',
                    'type' =&gt; 'to'
                )
            ),
            'headers' =&gt; array('Reply-To' =&gt; 'hidden.com'),
            'important' =&gt; false,
            'track_opens' =&gt; true,
            'track_clicks' =&gt; true,
            'tags' =&gt; array('$meta_tags'),
            'google_analytics_domains' =&gt; array('hidden'),
            'metadata' =&gt; array('website' =&gt; 'hidden')
        );
        $ip_pool = 'Main Pool';
        $result = $mandrill-&gt;messages-&gt;sendTemplate('jotText-Auto-i101-welcome', $template_content, $message, $async, $ip_pool, $send_at);
        print_r($result);
    } catch(Mandrill_Error $e) {
        // Mandrill errors are thrown as exceptions
        echo 'A mandrill error occurred: ' . get_class($e) . ' - ' . $e-&gt;getMessage();
        // A mandrill error occurred: Mandrill_Unknown_Subaccount - No subaccount exists with the id 'customer-123'
        throw $e;
      }
  
  }
  </code></pre>
  
  <p>The error message I get is</p>
  
  <pre><code>Warning: mysqli_fetch_array() expects parameter 1 to be mysqli_result, array given in /home/timbaker/public_html/jottext/foundation/database_tasks/cron_welcome.php on line 18
  </code></pre>
  
  <p>Which suggests to me it is a problem with the original query... But I can't work out why Mandrill causes this to happen?</p>
  
  <p>Also worth noting: 
  - No error messages from Mandril
  - Email does successfully send</p>