title: Codeigniter information from model in view
body: <p>I've been playing around with codeingiter lately, and it seems to do the work. However, i've got a little problem here. I load my view's like this,</p>
  
  <pre><code>&lt;?php $this-&gt;load-&gt;view('default_views/header_view') ?&gt;
  &lt;?php $this-&gt;load-&gt;view($main_content); ?&gt;
  &lt;?php $this-&gt;load-&gt;view('default_views/fotter_view') ?&gt;
  </code></pre>
  
  <p>Doing it this way helps me keep my views clean. But, I've got a menu in the header_view with a counter of how many people that are logged in, and how many people that have registered to my site. Is there any easy way too kinda access a model with this information? or do i need to send a variable on all my views to keep track of this? sounds like i need to repeat my self 1000 times if i do it like that?</p>
  
  <p>Any suggestions? </p>