title: Submitting from table row PHP
body: <p>How to make something like this:</p>
  
  <pre><code>&lt;td&gt;
      &lt;a href="test.php?input=&lt;?php echo $row['id']; ?&gt;"&gt;&lt;?php echo $row['id']; ?&gt;&lt;/a&gt;
  &lt;/td&gt;
  </code></pre>
  
  <p>to act like this:</p>
  
  <pre><code>&lt;form action="test.php" method="post"&gt;
      &lt;div class="form-group"&gt;
          &lt;input type="text" class="form-control" name="input" /&gt;
      &lt;/div&gt;
      &lt;button type="submit" name="action"&gt;Show&lt;/button&gt;
  &lt;/form&gt;
  </code></pre>
  
  <p>By other words, when I fill the form-control with some value and press "Show", the desired action performs.
  I want to make the same action by pressing the link in the table.</p>