title: php echo table with while loop
body: <p>I am creating a table and want it laid out a certain way and have to retrieve the data from the DB. I am trying to get it set up where it has the usernames across the top example...</p>
  
  <pre>
   Jim     Chris     Allen    Rick
   7       8          4         5
  </pre>
  
  <p>my code looks like this and I have been messing around with it for hours and cant figure out why I cant get it set up how I want. Any help would be appreciated. Its a while loop. </p>
  
  <pre><code>   while ($pickresults= mysql_fetch_assoc($picksquery)) {
  //first row                         
      echo '&lt;th&gt; '.$pickresults['username'].' &lt;/th&gt; ';  
          echo ' &lt;td&gt; '.$pickresults['firstgame'].' &lt;/td&gt; '; } 
  </code></pre>