title: CodeIgniter redirect from a view page to another view page
body: <p>I'm currently using CodeIgniter and trying to create two form.
  One form for username/password which is already done. (So we assume that the user has an account).
  One form for create an account.(Not finish yet).
  I load the first link using my controller like</p>
  
  <pre><code>$this-&gt;load-&gt;view('Login_view');
  </code></pre>
  
  <p>The first problem I encountered is to find a way to load a view file from another view file ?
  Once in my 'Login_view' file I tried this way for load another view file by this way:</p>
  
  <pre><code>&lt;p&gt;&lt;a href="&lt;?php echo site_url('index.php/New_account.php')?&gt;"&gt;New account&lt;/a&gt;&lt;/p&gt;
  </code></pre>
  
  <p>or this way</p>
  
  <pre><code>    &lt;p&gt;&lt;a href="http://localhost:8888/CodeIgniter-3.0.0/index.php/New_account.php"&gt;New account&lt;/a&gt;&lt;/p&gt;
  </code></pre>
  
  <p>and the last one</p>
  
  <pre><code>   &lt;p&gt;&lt;a href="&lt;?php echo base_url('index.php/New_account.php')?&gt;"&gt;New account&lt;/a&gt;&lt;/p&gt;
  </code></pre>
  
  <p>Otherwise neither of those works. So is it possible to open another page from a view file or the only way is to get back into my controller class and open the desire view file ? Or perhaps is it the wrong way to do it ?</p>
  
  <p>This is the beginning of my controller code (I suppose that the beginning is reasonable)</p>
  
  <pre><code>&lt;?php if ( ! defined('BASEPATH')) exit('No direct script access allowed');
  
  class Verifylogin extends CI_Controller {
  
   function __construct()
   {
     parent::__construct();
     $this-&gt;helper-&gt;helper('url');
     $this-&gt;load-&gt;model('user','',TRUE);
   }
  </code></pre>
  
  <p>Thanks</p>