title: Get value from form with button click? without submit
body: <p><img src="https://i.stack.imgur.com/UdheP.png" alt="enter image description here">I have a form with three buttons.. one button is to edit form in another page, second one is to add value on existing page, third one its to delete value.. submit and edit works well.. now i need to work on delete button.. as it is a button.. i am unable to get value with <code>$_POST</code> or <code>$_GET</code> and <code>$_REQUEST</code> i have done something like this.. </p>
  
  <pre><code>&lt;form method="POST"&gt;
    &lt;input type="text" name="example_text" /&gt;
  
    &lt;a href="index.php?del"&gt;
      &lt;input type="button" value="Delete" /&gt;
    &lt;/a&gt;
    &lt;!-- works fine !--&gt;
    &lt;a href="someotherpage.php"&gt;
    &lt;input type="button" value="edit" /&gt;
      &lt;/a&gt;
    &lt;!-- works fine !--&gt;
    &lt;input type="submit" name="submit" /&gt;
    &lt;/form&gt;
  
  &lt;?php 
  if(isset($_POST['submit']))
  {
  echo "submit can get value by $_POST";
  $name = $_POST['example_text'];
  }
  if(isset($_GET['del']))
  {
  $name = $_REQUEST['example_text']; // this can't get value;
  $name = $_POST['example_text'];  // this can't get value;
  $name = $_GET['example_text']; // this can't get value;
  }
  ?&gt;
  </code></pre>