title: Getting new line in select bootstrap using php
body: <pre><code>&lt;select class=&quot;form-control&quot; id=&quot;contract_package&quot;&gt;
      &lt;?php 
      while($row = mysqli_fetch_array($result))
      {
        echo '&lt;option value=&quot;'. $row['contract_package'].'&quot;&gt;'.$row['contract_package'].'&lt;option&gt;';  
       }
      ?&gt;
  &lt;/select&gt;
  </code></pre>
  <p>The following piece of code gives me a new line two different options.
  <img src="https://i.stack.imgur.com/h07UM.png" alt="" /></p>
  <p>Please help me to remove this.</p>