title: Get a link id from a php link button
body: <p>Hi this is aa part of my php file. </p>
  
  <pre><code>include_once 'dbconnect.php';
  $query  = "SELECT * FROM promoter";
  $result = mysql_query($query);
  echo "&lt;table border=\"2\"&gt;\n"; 
  echo "   &lt;tr&gt;\n"; 
  echo "      &lt;th&gt;Id&lt;/th&gt;\n"; 
  echo "      &lt;th&gt;User Id&lt;/th&gt;\n"; 
  echo "      &lt;th&gt;Full Name&lt;/th&gt;\n"; 
  echo "      &lt;th&gt;Qualification&lt;/th&gt;\n";
  echo "      &lt;th&gt;Locality&lt;/th&gt;\n";
  echo "      &lt;th&gt;Description&lt;/th&gt;\n";
  echo "      &lt;th&gt;Language&lt;/th&gt;\n";
  echo "      &lt;th&gt;Bank Details&lt;/th&gt;\n";
  echo "      &lt;th&gt;Change&lt;/th&gt;\n";
  
  
  echo "    &lt;/tr&gt;\n";
  while($row = mysql_fetch_array($result, MYSQL_ASSOC))
  {   
  print "&lt;tr&gt; &lt;td&gt;";
      echo $row['id']; 
      print "&lt;/td&gt; &lt;td&gt;";
      echo $row['user_id']; 
      print "&lt;/td&gt; &lt;td&gt;";
      echo $row['full_name']; 
      print "&lt;/td&gt; &lt;td&gt;";
      echo $row['qualification'];
      print "&lt;/td&gt; &lt;td&gt;";
      echo $row['locality'];
      print "&lt;/td&gt; &lt;td&gt;";
      echo $row['description'];
      print "&lt;/td&gt; &lt;td&gt;";
      echo $row['language'];
      print "&lt;/td&gt; &lt;td&gt;";
      echo $row['bank_details'];
      print "&lt;/td&gt; &lt;td&gt;";
       //echo '&lt;a href="update.php" &gt;Modi&lt;/a&gt;';
      echo '&lt;a href="update.php" id= "&lt;?php echo $row['id'];?&gt;"&gt;Modify&lt;/a&gt;';
      print "&lt;/td&gt; &lt;/tr&gt;";
  
  }
  
  
  
  echo " &lt;/table&gt;\n";
  include 'closedb.php';
  </code></pre>
  
  <p>I want to get the row id of the of the table row when the button is link is clicked. How can i get that? There is a link for every row of the table , so when the link is clicked it should take the row ['id'] as the id value , so every link has the id value of its row id.</p>