title: mysql->info returning null after move to new server space
body: <p>I had previously been testing a new site using XAMPP while I waited for a production space to become available. Upon moving to the new space several things no longer worked. One of them is the mysql_info function (<a href="http://php.net/manual/en/mysqli.info.php" rel="nofollow">http://php.net/manual/en/mysqli.info.php</a>)</p>
  
  <p>I have the following test example: 
      
  
  <pre><code>$collector = 'Jenny';
  $sample_name = 'sample001';
  $query = 'UPDATE sample SET collector_name = ? WHERE sample_name = ?';
  
  if($stmt = $dbc -&gt;prepare($query)) {                 
      $stmt-&gt;bind_param('ss', $collector, $sample_name);
      $stmt -&gt; execute();
      $rows_affected = $stmt -&gt;affected_rows;
      $stmt -&gt; close();
  
      //check if add was successful or not. Tell the user
      if($rows_affected &gt;= 0){
          echo "test".$dbc-&gt;info;
          if($dbc-&gt;info == NULL){
              echo "nullll";
          }
      }
      else{
          echo "update failed";
      }
  }
  else{
          echo "preparedfailed";
  }
  ?&gt;
  </code></pre>
  
  <p>This successfully outputs the result of $dbc->info as 'Rows matched: 1 Changed: 1 Warnings: 0' on the XAMPP version (using php 5.5) and returns null on the new production server which has a regular LAMP stack installed on it (using php 5.4). I cannot figure out why this is or how to fix it. Any helpful suggestions?</p>
  
  <p>Thanks!</p>