title: HTML input type button cant send PHP Variable?
body: <p>I Have table on browser Like This</p>
  
  <pre><code>  Name  | Action        |
  ________________________
  Septiyo | Edit | Delete |
  Fahmi   | Edit | Delete | 
  Tejo    | Edit | Delete |
  </code></pre>
  
  <p>For Edit, usually I use link like this</p>
  
  <pre><code>  echo "&lt;a href='edit.php?ID=$data['ID']'&gt;Edit&lt;/a&gt;";
  </code></pre>
  
  <p>With link, I can Include the ID variable and send to other Page.</p>
  
  <p>The question is, if I change The Link with Button html. How can I include the variable?</p>
  
  <p>My Button like this</p>
  
  <pre><code> echo  "&lt;input type='button' value='Edit' onclick='window.location=edit.php?ID=$data['ID']'&gt;";
  </code></pre>
  
  <p>and it not Work.</p>
  
  <p>Can anyone Help me?</p>
  
  <p>Im very Appreciated your Answer.</p>
  
  <p>Thanks.</p>