title: How will i print the result in view in CodeIgniter?
body: <p>I am trying to get a result in view returned as array in controller.This is a result of an <strong>api</strong> call using the <strong>json</strong>.
  I need to display the results in the view. There is design integrated in view to display it.
  How could i do it in CodeIgniter?</p>
  
  <p><strong>Function call:</strong>    </p>
  
  <pre><code> $data['nearme_values'] = $this-&gt;swsdk-&gt;nearMe($lat, $lon, $radius, $page, $size);
  </code></pre>
  
  <p><strong>This is the var_dumb result of the function call.</strong></p>
  
  <pre><code>stdClass Object
   (   [content] =&gt; Array 
      ( [0] =&gt; stdClass Object 
          ( [id] =&gt; 1 [name] =&gt; Make America Great 
            [screenShotUrl] =&gt; http://52.77.190.221/SW/speaker_wire_images/streamSShot/stream-1479113014667.jpg
            [type] =&gt; PUBLIC [status] =&gt; RECORDED [userId] =&gt; 1 [userHandle] =&gt; abhilekh 
            [channelId] =&gt; 1 [channelName] =&gt; Sports [likes] =&gt; 0 [views] =&gt; 0 
            [liveViewers] =&gt; 0 
         ) 
        [1] =&gt; stdClass Object 
          ( [id] =&gt; 2 [name] =&gt; Make America Great 
            [screenShotUrl] =&gt; http://52.77.190.221/SW/speaker_wire_images/streamSShot/stream-1479110563909.jpg 
            [type] =&gt; PUBLIC [status] =&gt; RECORDED [userId] =&gt; 1 [userHandle] =&gt; abhilekh 
            [channelId] =&gt; 2 [channelName] =&gt; Politics [likes] =&gt; 0 [views] =&gt; 0 
            [liveViewers] =&gt; 0 
         ) 
        [2] =&gt; stdClass Object 
          ( [id] =&gt; 3 [name] =&gt; Make America Great 
            [screenShotUrl] =&gt; http://52.77.190.221/SW/speaker_wire_images/streamSShot/stream-1479109601008.jpg 
            [type] =&gt; PUBLIC [status] =&gt; RECORDED [userId] =&gt; 2 [userHandle] =&gt; sudhanshu 
            [channelId] =&gt; 3 [channelName] =&gt; Fun [likes] =&gt; 0 [views] =&gt; 0 
            [liveViewers] =&gt; 0            
        ) 
        [3] =&gt; stdClass Object 
          ( [id] =&gt; 4 [name] =&gt; Make America Great 
            [screenShotUrl] =&gt; http://52.77.190.221/SW/speaker_wire_images/profiles/pic-130.jpg 
            [type] =&gt; PUBLIC [status] =&gt; RECORDED [userId] =&gt; 2 [userHandle] =&gt; sudhanshu 
            [channelId] =&gt; 4 [channelName] =&gt; Art [likes] =&gt; 0 [views] =&gt; 0 
            [liveViewers] =&gt; 0 
        ) 
      ) [last] =&gt; 1 [totalPages] =&gt; 1 [totalElements] =&gt; 4 
        [numberOfElements] =&gt; 4 [sort] =&gt; [first] =&gt; 1 
        [size] =&gt; 10 [number] =&gt; 0 
   )
  </code></pre>
  
  <p>I am new to the CodeIgniter. Please support with sample code.</p>