<table cellpadding="0" cellspacing="0" class="bodytext2">
<tr>
<td width="130" align="center" class="bodytext">Naam</td>
<td width="80" align="center" class="bodytext">Adres</td>
<td width="70" align="center" class="bodytext">Postcode</td>
<td width="70" align="center" class="bodytext">Woonplaats</td>

</tr>
<tr>
<td colspan="11" background="images/dots.gif" height="1"></td>
</tr>
<?php
 include ('config.php');
                $query = "SELECT naam, adres, postcode, woonplaats FROM NAW";

        $execq = mysql_query($query) or die($error);

        if(mysql_num_rows($execq) == 0)
        {
                echo"<tr><td colspan=\"11\">&nbsp;</td></tr>";
                echo"<tr><td colspan=\"11\">&nbsp;</td></tr>";
                echo"<tr><td colspan=\"11\" align=\"center\">There are no <b>$titel</b> available at this moment!</td></tr>";
        }

?>
<tr>
<td align="center"><?php echo("$naam"); ?></td>
<td align="center"><?php echo("$adres"); ?></td>
<td align="center"><?php echo("$postcode"); ?></td>
<td align="center"><?php echo("$woonplaats"); ?></td>
</tr>
<tr>
</table>
<br />
<br />


dit is mijn code.

als eerste komt er bovenaan de pagina een header waarin de tabellen duidelijk worden gemaakt.

daarna de query
en daarna wil ik de resultaten onder die header krijgen.
maar helaas werkt dit niet.

iemand suggestie??

Reageren