title: Displaying the content of mysql in bootstrap table
body: <p>I'm actually trying to show the content of my mysql table in a bootstrap table.</p>
  
  <p>I can see the contents but it shows only the first content right the other contents are not inside the table. Where is here wrong?</p>
  
  <p>How it looks actually: </p>
  
  <p><img src="https://i.imgur.com/lpP63gf.png" alt=""></p>
  
  <p>My table.php</p>
  
  <pre><code>  &lt;?php 
  include('config/mysql.php');
  $result = mysql_query("SELECT * FROM streams");
  echo mysql_error();
  
  ?&gt;
          &lt;link rel="stylesheet" href="views/extra.css" /&gt;
  
  &lt;table class="tablesorter" cellspacing="0" &gt; 
              &lt;thead&gt; 
                  &lt;tr&gt; 
                      &lt;th class="header"&gt;ID&lt;/th&gt; 
                      &lt;th class="header"&gt;Name&lt;/th&gt;
                      &lt;th class="header"&gt;Port&lt;/th&gt;
                      &lt;th class="header"&gt;Options&lt;/th&gt;
                  &lt;/tr&gt; 
              &lt;/thead&gt; 
  
              &lt;tbody&gt;
  &lt;?php while ($row = mysql_fetch_array($result)) { ?&gt;
                   &lt;tr&gt;           
                      &lt;td bgcolor="#D1FFC2"&gt;&lt;?php echo $row["id"] ?&gt;&lt;/td&gt;
                      &lt;td bgcolor="#D1FFC2"&gt;&lt;?php echo $row["streamname"] ?&gt;&lt;/td&gt;
                      &lt;td bgcolor="#D1FFC2"&gt;&lt;?php echo $row["streamport"] ?&gt;&lt;/td&gt;
                      &lt;td bgcolor="#D1FFC2"&gt;Debug- Delete- Edit&lt;/td&gt;
                          &lt;/tr&gt;      
              &lt;/tbody&gt; 
              &lt;/table&gt;
  
  
  &lt;?php } ?&gt;
  </code></pre>