title: mysql_result repaced with mysqli_data_seek not counting correctly
body: <p>I am trying to upgrade to Mysqli from Mysql and by that function <code>mysql_result</code> to <code>mysqli_data_seek</code>. I managed to do this, but all the statistics are wrong, I get counted only 1 instead of 520.</p>
  
  <p>I believe that the problem stays in <code>mysqli_data_seek($res, 0);</code> because <code>mysql_result</code> was like this <code>mysql_result($res, 0, 0);</code> (it had 3 arguments).</p>
  
  <p>New Code  (Mysqi):</p>
  
  <pre><code>$link  = mysqli_connect("localhost", "my_user", "my_password", "world");
  $query = "SELECT name FROM employee";
  $res   = mysqli_query($link, $query)
  
  if (mysqli_num_rows($res) == 0) {
      return false;
  }
  
  if (mysqli_num_fields($res) &gt; 1) {
      return $this-&gt;sqlFetchArray($res);
  } else {
      return mysqli_data_seek($res, 0);
  }
  </code></pre>
  
  <p>Old Code (Mysql):</p>
  
  <pre><code>$link  = mysql_connect("localhost", "my_user", "my_password");
  $query = "SELECT name FROM employee";
  $res   = mysql_query($query);
  
  if (mysql_num_rows($res) == 0) {
      return false;
  }
  
  if (mysql_num_fields($res) &gt; 1) {
      return $this-&gt;sqlFetchArray($res);
  } else {
      return mysql_result($res, 0, 0);
  }
  </code></pre>