title: PHP Passing Input values through href to another page
body: <pre><code> &lt;input type="text" name="a" id="a" /&gt;
   &lt;a href="xxx.php?id = &lt;? echo '$data['id']' ?&gt;&amp;mk="&gt;CLICK&lt;/a&gt;
  </code></pre>
  
  <p>Now this is my question that can we pass an input tag value of HTML to 'mk' so that value can be used in the next page for process.
  Though i have done my project in a different way but still i want to know wether is it possible to do so .
  I have searched a lot but none of the question is same as i got so plz help me out.
  And i dnt want to use form so i just want to know can we pass this value using href tag r not.</p>
  
  <p>This is the code i have </p>
  
  <pre><code>&lt;form  method="post"&gt;
      &lt;table align="center" bgcolor="#FFFFCC" border="1"&gt;
          &lt;tr&gt;&lt;th&gt;ID&lt;/th&gt;&lt;th&gt;PRODUCT&lt;/th&gt;&lt;th&gt;PRICE&lt;/th&gt;&lt;th&gt;DATE OF POST&lt;/th&gt;&lt;th&gt;PHONE NUMBER&lt;/th&gt;&lt;th&gt;AUTHENTICATE&lt;/th&gt;&lt;/tr&gt;
          &lt;?
          $sel = mysql_query("SELECT * FROM addunauth WHERE adminauthorize = 'uncheck'") or die("CANNOT FETCH DATA FOR ADMIN " . mysql_error());
          if (mysql_num_rows($sel) &gt; 0) {
              while ($data = mysql_fetch_array($sel)) {
                  ?&gt;      &lt;tr&gt;
                      &lt;td&gt;&lt;? echo $data['id']; ?&gt;&lt;/td&gt;
                      &lt;td&gt;&lt;? echo $data['product_name']; ?&gt;&lt;/td&gt;
                      &lt;td&gt;&lt;? echo $data['product_sp']; ?&gt;&lt;/td&gt;
                      &lt;td&gt;&lt;? echo $data['product_time']; ?&gt;&lt;/td&gt;
                      &lt;td&gt;&lt;? echo $data['phoneNumber']; ?&gt;&lt;/td&gt;
                      &lt;td&gt;&lt;input type="text" name="a" id="a" /&gt;&lt;/td&gt;
  
  
                      &lt;td align="center"&gt;
                          &lt;a href="processadminTask.php?id=&lt;? echo $data['id']; ?&gt;&amp;mk=" &gt;
                              AUTHENTICATE
                          &lt;/a&gt;
                      &lt;/td&gt;
                  &lt;/tr&gt;
      &lt;?
      }
  } else {
      ?&gt;          &lt;tr&gt;&lt;td&gt;-&lt;/td&gt;&lt;td&gt;-&lt;/td&gt;&lt;td&gt;-&lt;/td&gt;&lt;td&gt;-&lt;/td&gt;&lt;td&gt;-&lt;/td&gt;&lt;td&gt;-&lt;/td&gt;&lt;/tr&gt;
  
          &lt;? }
          ?&gt;
      &lt;/table&gt;
  
  &lt;/form&gt;
  </code></pre>
  
  <p>Now just tell me how to pass the input value</p>