title: Getting a field from the first row of a query
body: <p>I'm using Codeigniter's Active Record Class. So the query looks something like this:</p>
  
  <pre><code>$query = $this-&gt;db-&gt;get_where('Table', array('field' =&gt; $value));
  </code></pre>
  
  <p>Now, what's the fastest way to get a field from the first row?
  Would <code>$query-&gt;first_row-&gt;field</code>; work?</p>
  
  <p>Thanks!</p>