title: passing input value to a href php
body: <p>I want to pass input field value to another page using <code>&lt;a&gt;</code> tag</p>
  
  <pre><code>&lt;input type="text" class="form-control" name="plate" value="'. $value["plate"] . '" /&gt;
  &lt;a href="vehicle_edit.php?edit=' . $value["plate"] . '&amp;edited=' . $value["plate"] . '"&gt;
      &lt;button class="btn btn-primary btn-sm" style="float:right;margin-top:5px;"&gt;Update&lt;/button&gt;
  &lt;/a&gt;
  </code></pre>
  
  <p>note that the input field value is going to be edited and pass to another page along with the first version of <code>$value["plate"]</code>. Thanks for your help!</p>