title: Tables are displayed horizontally instead of vertical
body: <p>I'm trying to create an table with PHP and HTML which gets the data from a MySQL database.
  The problem is that the data is displayed horizontally and not vertical.</p>
  
  <pre><code>if (isset($_POST['winneron'])) {
      echo "&lt;tr&gt;";
      while ($printuser = mysql_fetch_array($user)) {
          echo "&lt;th&gt;". $printuser['username'] . "&lt;/th&gt;";
      }
      echo "&lt;/tr&gt;";
      while ($printgames = mysql_fetch_array($games)) {
          if ( $printgames ['winner'] == $printgames ['team1'] ) {
              echo "&lt;td&gt;&lt;b&gt;". strtoupper($printgames ['winner']) . "&lt;/b&gt;&lt;/td&gt;";   
          }
          else { 
              echo "&lt;td&gt;". strtoupper($printgames ['winner']) . "&lt;/td&gt;"; 
          }
      }   
  }
  </code></pre>
  
  <p>Hope somebody can help me.</p>