title: Putting SQL data into HTML table
body: <p>I'm trying to get the data from my mySQL database and put them into a HTML table.
  After searching a lot on the internet, but I coudn't find code that worked for me.</p>
  
  <p>Currently, I have this code </p>
  
  <pre><code>&lt;!DOCTYPE html&gt;
  &lt;html xmlns="http://www.w3.org/1999/xhtml"&gt;
  &lt;head&gt;
      &lt;title&gt;&lt;/title&gt;
  &lt;/head&gt;
  &lt;body&gt;
      &lt;table&gt;
          &lt;thead&gt;
              &lt;tr&gt;
                  &lt;td&gt;Naam&lt;/td&gt;
                  &lt;td&gt;Gemeente&lt;/td&gt;
                  &lt;td&gt;Datum&lt;/td&gt;
              &lt;/tr&gt;
          &lt;/thead&gt;
          &lt;tbody&gt;
         &lt;?php
            $db_select = mysql_select_db($dbname,$db);
              if (!db_select) {
                  die("Database selection also failed miserably: " . mysql_error());
              }
              mysql_select_db("databaseiheko");
              $results = mysql_query("SELECT NaamFuif, GemeenteFuif, DatumFuif FROM tblfuiven");
              while($row = mysql_fetch_array($results)) {
              ?&gt;
                  &lt;tr&gt;
                      &lt;td&gt;&lt;?php echo $row['NaamFuif']?&gt;&lt;/td&gt;
                      &lt;td&gt;&lt;?php echo $row['GemeenteFuif']?&gt;&lt;/td&gt;
                      &lt;td&gt;&lt;?php echo &amp;row['DatumFuif']?&gt;&lt;/td&gt;
                  &lt;/tr&gt;
  
              &lt;?php
              }
              ?&gt;   
              &lt;/tbody&gt;
              &lt;/table&gt;
  &lt;/body&gt;
  &lt;/html&gt;
  </code></pre>
  
  <p>The only thing that I get is the first row of my table (Naam-Gemeente-Datum).
  Am I doing something wrong or did I forgot something?</p>