title: Send post form to the same page using php or html only
body: <p>I can only use php and html to do this.
  I'm trying to pass the input of a text box to the URL. Something like this ?input=</p>
  
  <p>The page will be the same. </p>
  
  <pre><code>&lt;form method='post' action=""&gt;
          &lt;input type="text" name="input"&gt;
          &lt;a href="http://example.com?input="&lt;?php echo $_POST['input'] ?&gt;&gt;&lt;input type="submit" value="Submit"&gt;&lt;/a&gt;
      &lt;/form&gt;
  </code></pre>