title: CLI0145E db2_fetch_array
body: <p>i'm working with DB2 in php and i'm getting the following error while executing</p>
  
  <pre><code>@$row = db2_fetch_array( $res );
  [IBM][CLI Driver] CLI0145E Fetch type out of range. SQLSTATE=HY106 SQLCODE=-99999
  </code></pre>
  
  <p>I found <a href="http://www.php.net/manual/de/function.db2-fetch-row.php#72501" rel="nofollow">here</a> a possible explanation, but it doesn't make sense for me because i'm not specifying the row number.</p>
  
  <p>Does anybody can give some explanations?</p>
  
  <p>Thanks! </p>