title: how to send a text box value without submitting form in php?
body: <p>I want to refresh the same page and display the entered value in text box on the same page after clicking the link or button.</p>
  
  <p>I have the following code:</p>
  
  <pre><code> &lt;?php 
   echo '&lt;h3&gt;Fee Payment&lt;/h3&gt;';
  
   echo "&lt;form id='myFormId' name='myFormName'&gt;";
   echo " &lt;input type='text' name='myTextField'&gt;";
   echo "&lt;a href='{$_SERVER['PHP_SELF']}?student_no=myTextField'&gt; Search Student&lt;/a&gt;";
  
  
   if (!(isset($_GET[student_no])))
   { 
      echo "No Student is available.";
   } 
   else
   {
      $student_no = $_GET['student_no'];
      echo "Student NO:".$studen_no;
   }
   ?&gt;
  </code></pre>
  
  <p>Please guide me how to achieve the goal and whats the error my code.</p>