title: pass a input textbox value to another page using href link using php
body: <p>I have an input tag textbox which has a value and I want that value to be passed from one page to another using a href tag. Is this possible?</p>
  
  <p>Here's my HTML code</p>
  
  <pre><code>&lt;input type="text" placeholder="Place given Access Key" id="accesskeynum" name="accesskeynum" value="accesskeynum"&gt;
  </code></pre>
  
  <p>and here's my code to pass it to another page using php</p>
  
  <p>but when I echo the value in page 2 it returns blank even though I put 1234 in the text field</p>
  
  <pre><code>&lt;a href="immobilization_actions.php?action=immobilizerx&amp;id=&lt;?php echo $_POST['accesskeynum'] ?&gt;" style="margin-right:50px;"&gt;&lt;img src='style/Immobilize.png' height="75" width="75" onmouseover="this.src='style/Immobilize.png';" onmouseout="this.src='style/Immobilize.png';" /&gt;&lt;/a&gt;
  </code></pre>
  
  <p>Please help me. Thanks in advance for all the help.</p>