title: action after render a view (codeigniter)
body: <p>I would want to know if it is possible make different actions after render a view with codeigniter, something like:</p>
  
  <pre><code>public function my_function()
  {
      $data['var1'] = $this-&gt;make_one_action();
      $data['var2'] = $this-&gt;make_other_action();
      $this-&gt;load-&gt;view('a_view', $data);
      //and now... more actions??
      $this-&gt;make_dataBase_action();
  }
  </code></pre>
  
  <p>what I want to do is process some data of the data base, but don´t make to wait the user to this processing (when the new view will not show this actions on the data base to user).</p>
  
  <p>And a little more... (a different question, but related), could I do something like this:</p>
  
  <pre><code>public function my_function()
  {
      $data['var1'] = $this-&gt;make_one_action();
      $data['var2'] = $this-&gt;make_other_action();
      redirect(base_url()); //here is the difference
      //and now... more actions??
      $this-&gt;make_dataBase_action();
  }
  </code></pre>
  
  <p>In this case I would want to redirect the user to a new page and after make the processing on the data base.  </p>
  
  <p>Thank you.</p>