Passing the parameter 'name' in php form handling
<p>In my database i have created a table named iso(2 columns- name of ISO certificate and the code) and by the code below, I am trying to print the names of all the certificates as submit type buttons(clickable). But I am not able to pass that which button was passed to the next file. Please help. Thanks!</p>

<pre><code>     &lt;?php 
        $con=mysqli_connect("localhost","root","","dyna");
// Check connection
        if (mysqli_connect_errno()) {
        echo "Failed to connect to MySQL: " . mysqli_connect_error();
         }

          $result = mysqli_query($con,"SELECT * FROM iso");
          ?&gt;

  &lt;form method="post" action="http://localhost/junk.php/"&gt;
    &lt;?php while($row = mysqli_fetch_array($result))
       { ?&gt;
       &lt;input type="submit" name="&lt;?php $row['Code'] ?&gt;" class="login login-submit" value="&lt;?php echo $row['Value'] ?&gt;" &gt;
        &lt;?php } ?&gt;
    &lt;?php mysqli_close($con); ?&gt;
  &lt;/form&gt;
</code></pre>