title: How to get my custom URL to the URL browser when Search Data
body: <p>I think from the title its not really clear so I'm goning to explain it here, I got an URL like this =&gt; localhost/restoq/?page=Laporan, but when I tried to search it with my query its only show localhost/restoq/?search=example. So what I need to do to get the &quot;?page=Laporan into my URL?</p>
  <p>Form :</p>
  <pre><code>&lt;form action=&quot;&quot; method=&quot;GET&quot;&gt;
        &lt;div class=&quot;form-row&quot;&gt;
             &lt;div class=&quot;col-md-12&quot;&gt;
                  &lt;label for=&quot;&quot;&gt;Keyword&lt;/label&gt;
                  &lt;input type=&quot;text&quot; name=&quot;search&quot; class=&quot;form-control&quot; placeholder=&quot;Masukkan Keyword&quot; value=&quot;&lt;?php if(isset($_GET['search'])) { echo $_GET['search']; } ?&gt;&quot;  /&gt;
              &lt;/div&gt;
        &lt;/div&gt;
        &lt;div class=&quot;form-row mt-3 float-right&quot;&gt;
             &lt;button type=&quot;submit&quot; class=&quot;btn btn-danger&quot;&gt;Search&lt;/button&gt;
         &lt;/div&gt; &lt;/form&gt;
  </code></pre>
  <p>Query :</p>
  <pre><code>if(isset($_GET['search']) ) {
      $keyword = $_GET['search'];
      $query = &quot;SELECT barang.kode, barang.nota, barang.tgl_input, barang.no_inv, barang.status_doc, barang.posisi_doc, barang.no_po, barang.nilai, users.nama FROM barang INNER JOIN users ON barang.id_user = users.id_user 
      WHERE barang.nota like '%&quot;.$keyword.&quot;%'
      OR tgl_input like '%&quot;.$keyword.&quot;%'
      OR status_doc like '%&quot;.$keyword.&quot;%'
      OR posisi_doc like '%&quot;.$keyword.&quot;%'
      OR no_inv like '%&quot;.$keyword.&quot;%'
      OR no_po like '%&quot;.$keyword.&quot;%'
      OR nilai like '%&quot;.$keyword.&quot;%'
      ORDER BY barang.kode ASC&quot;;
  } else {
      $query = &quot;SELECT barang.kode, barang.nota, barang.tgl_input, barang.no_inv, barang.status_doc, barang.posisi_doc, barang.no_po, barang.nilai, users.nama FROM barang INNER JOIN users ON barang.id_user = users.id_user ORDER BY barang.kode ASC&quot;;
  }
  </code></pre>