title: Adding parameters from a FORM to URL with queried page
body: <p>I have a search page which is queried from index.php
  example : <code>http://localhost/sgc/admin/index.php?page=search</code></p>
  
  <p>then i created a form within this page to search users by names</p>
  
  <pre><code>&lt;form role="form" method="get" action="" class="form-horizontal"&gt;
  &lt;input type="search" name="name" class="form-control" placeholder="username"&gt;
  &lt;/form&gt;
  </code></pre>
  
  <p>the problem is when the input is submitted it redirects to the index.php and adding the paramteres to the index page <code>http://localhost/sgc/admin/index.php?name=</code></p>
  
  <p>required URL format is to be <code>http://localhost/sgc/admin/index.php?page=search&amp;name=</code></p>
  
  <p>can it be achived using php or i have to use javascript</p>
  
  <p>Thanks, and sorry for my bad english :)</p>