title: Difference between row_array and result_array
body: <p>What is the difference between <code>row_array()</code> and <code>result_array()</code>?</p>
  
  <p>How would they be displayed on a view page?</p>
  
  <pre><code>if ($variable) {
      return $result-&gt;row_array();
  } else {
      return $result-&gt;result_array();
  }
  </code></pre>