title: How to get data out of stdclass object?
body: <p>I am using <code>$this-&gt;db-&gt;get_where()</code> to get data from database in codeigniter.
  Its returning following which I got using <code>print_r()</code></p>
  
  <p>Its looks like array of <code>stdClass object</code>. Anyone who how to access values inside this array.</p>
  
  <pre><code>Array ( [0] =&gt;    
      stdClass Object ( 
      [id] =&gt; 1 
      [password321] =&gt; qwerty
      [email123] =&gt; example@gmail.com 
      [username123] =&gt; xyz
      ) 
  )
  </code></pre>