title: CodeIgniter - Loading View inside subfolder with Id
body: <p>I'm working on a new project and I'm using subfolders with my Views and Controllers because it's going to be a fairly big application. My problem is I can not load a View with an Id. I'm getting "Unable to load requested file" error.</p>
  
  <p>This will load my view, but because I don't have the Id needed in the URL I'm getting errors because some of the functions I have require it:</p>
  
  <pre><code>$this-&gt;load-&gt;view('administration/header');
  $this-&gt;load-&gt;view('administration/add_vendor_location');
  $this-&gt;load-&gt;view('administration/footer');
  </code></pre>
  
  <p>But when I try and include the Id like so:</p>
  
  <pre><code>$this-&gt;load-&gt;view('administration/header');
  $this-&gt;load-&gt;view('administration/add_vendor_location/Id');
  $this-&gt;load-&gt;view('administration/footer');
  </code></pre>
  
  <p>I'm getting the "Unable to load the requested file" error. I know I can use re-direct, but this is coming from a Form Validation and setting all the POST data and errors in sessions is very time consuming / annoying.</p>
  
  <p>Hope this makes sense!</p>
  
  <p>Thanks!</p>