title: HTML <Input> button moves to next line unexpectedly
body: <p>I have a page where I am displaying the results of a search and putting a button next to each result. However the outcome is Fig 1 with the buttons below the text, when I would like Fig 2 with the buttons in line with the text. Why is this happening? </p>
  
  <p><img src="https://i.stack.imgur.com/QdT1h.png" alt="enter image description here"></p>
  
  <p><strong>HTML</strong></p>
  
  <pre><code>&lt;?php
  while($row = mysql_fetch_array($sqlresult))
  {
  echo $row['personName'];
  ?&gt;
  &lt;form action="http://website/delPerson.php" method="post"&gt;
  &lt;input type="submit" name="delete" value="Delete" class="deleteButton"&gt;
  &lt;/form&gt;
  &lt;br&gt;
  &lt;?php
  }
  ?&gt;
  </code></pre>