title: Codeigniter show search results in same view?
body: <p>On Search view, I have this form :</p>
  
  <pre><code>&lt;form class="form-horizontal col-centered" method="POST"action="Search/search"&gt;
     &lt;div class="form-group"&gt;
          &lt;div class="col-xs-4 col-centered "&gt;
              &lt;input type="text" class="form-control" id="inputPassword3" placeholder="Type something" name="title"&gt;
          &lt;/div&gt;
     &lt;/div&gt;
          &lt;div class="form-group"&gt;
              &lt;div class="col-sm-offset-2 col-sm-10 col-centered"&gt;
                  &lt;input class="btn btn-default" type="submit" value="Search"name="submit2"&gt;
              &lt;/div&gt;
          &lt;/div&gt;
  &lt;/form&gt;
  </code></pre>
  
  <p>Form action is set to : action="Search/search"</p>
  
  <p>Search-controler and seach function in that controler. All work fine, after submit form I get result,but result show in :</p>
  
  <pre><code> http://localhost/ci/index.php/Search/search
  </code></pre>
  
  <p>My idea is to show result of function search in same view where is form,so after submit form,to get result on Search view.</p>
  
  <p>Tnx</p>