title: How to process a form with CodeIgniter
body: <p>I am new to CodeIgniter. I need to process a form. I have a form.html page in view </p>
  
  <pre><code>&lt;html&gt;
    &lt;head&gt;
      &lt;title&gt;Search&lt;/title&gt;
    &lt;/head&gt;
    &lt;body&gt;
      &lt;form action="search"&gt;
        &lt;input type="text" name="search" value="" size="50" /&gt;
        &lt;div&gt;
          &lt;input type="submit" value="Submit" /&gt;
        &lt;/div&gt;
      &lt;/form&gt;
    &lt;/body&gt;
  &lt;/html&gt;
  </code></pre>
  
  <p>and form controller </p>
  
  <pre><code>class Form extends Controller {
  
    function Form() {
      parent::Controller();   
    }
  
    function index() {    
      $this-&gt;load-&gt;view('form');
    }
  
  }
  </code></pre>
  
  <p>and I have an view file search.php but when it is processed it shows page not found...</p>