title: how to get a html form element with name is php variable
body: <p>I want to get html form element by post with the name being a php variable </p>
  
  <p><strong>example</strong> :</p>
  
  <pre><code>&lt;form method="post" action="action.php"&gt;&lt;input type="submit" name="'.$name.'"&gt;&lt;/form&gt;
  </code></pre>
  
  <p><strong>action.php</strong> code:</p>
  
  <pre><code>$var=$_POST['What do i put here?'];
  </code></pre>
  
  <p>Thanks </p>