title: Stop button to repet in loop
body: <p>Is there any way to stop a button from submit button to stop looping in while loop?
  it just looks terrible to have like 15 submit buttons insted of 1. whitout moving it from the from</p>
  
  <pre><code>    $sql = "SELECT * FROM `bestalning` WHERE lev=0
  ORDER BY tid";
  $result = mysqli_query($conn, $sql) or die(mysqli_error($conn)); 
  echo "&lt;div class='continer bg-vit table-rsponsive-sm '&gt;";
  echo "&lt;table class='table'&gt;";
  echo    "&lt;thead class='thead-dark'&gt;";
  echo       "&lt;tr&gt;&lt;th&gt;Lev&lt;/th&gt;";
  echo           "&lt;th&gt;&amp;nbsp;&lt;/th&gt;";
  echo           "&lt;th&gt;Artikelnr&lt;/th&gt;";
  echo           "&lt;th&gt;Antal&lt;/th&gt;";
  echo           "&lt;th&gt;Singnatur&lt;/th&gt;";
  echo           "&lt;th&gt;Önskad ankomst&lt;/th&gt;";
  echo           "&lt;th&gt;Skickad&lt;/th&gt;";
  echo       "&lt;/tr&gt;&lt;/thead&gt;&lt;tbody&gt;";
  while($row = mysqli_fetch_array($result)){
      echo "&lt;tr&gt;";
      echo "&lt;form method='POST' action='ID_change.php'&gt;";
      echo "&lt;td&gt;&lt;input style='margin-right:5px;' name='levJA' type='checkbox' value='1'&gt;&lt;/td&gt;";
      echo "&lt;td&gt;&lt;input style='margin-right:5px;' name='RowID' type='hidden' value='".$row['ID']."'&gt;&lt;/td&gt;";
      echo "&lt;td&gt;".$row['artikelnr']."&lt;/td&gt;";
      echo "&lt;td&gt;".$row['antal']."&lt;/td&gt;";
      echo "&lt;td&gt;".$row['ovrigt']."&lt;/td&gt;";
      echo "&lt;td&gt;".$row['Tid']."&lt;/td&gt;";
      echo "&lt;td&gt;".$row['date']."&lt;/td&gt;";
      echo "&lt;input class='btn btn-dark m-1' type='submit' value='submit'&gt;;
      echo "&lt;/form&gt;";
      echo "&lt;/tr&gt;";
  
  }
  
  
  
  echo "&lt;/tbody&gt;&lt;/table&gt;";
  echo "&lt;/div&gt;";
  mysqli_close($conn);
  </code></pre>