title: CodeIgnighter array information
body: <p>from print_r</p>
  
  <pre><code>Array (
      [0] =&gt; stdClass Object (
          [id] =&gt; 2729
          [title] =&gt;
          [image_file] =&gt; M6_Black_Back.jpg
          [product] =&gt; 2
          [active] =&gt; 0
          [created] =&gt; 2013-06-19 23:14:51
          [rank] =&gt; 1
          [publish] =&gt; 0
          [back_photo] =&gt; M6_Black_Back.jpg
      )
  )
  </code></pre>
  
  <p>this is in my controller</p>
  
  <pre><code>$data['back'] = $this-&gt;global_model-&gt;custom_query('
          SELECT *,image_file AS back_photo FROM system_product_photos
          WHERE product = 2 AND rank = 1
          ');
  
  $this-&gt;load-&gt;view('template', $data);
  </code></pre>
  
  <p>I can't for the life of me get <code>&lt;?=$back-&gt;back_photo?&gt;</code> to output anything. 
  Warning codeignighter rookie alert!</p>