<center><h2>Kaarten overzicht</h2></center>
<table border="1" id="table">
<tr>
<th>Patiente Naam</th>
<th>Arts</th>
<th>Huisarts</th>
<th>Diagnose</th>
</tr>
<!--- Alle informatie van patiente in een table zetten. --->
<cfloop query="VARIABLES.overzicht">
<cfoutput>
<tr>
<td>#Voornaam# #Achternaam#</td>
</cfoutput>
</cfloop>
<cfloop query="VARIABLES.overzichtArtsen">
<cfoutput>
<td>#Voornaam# #Achternaam#</td>
</cfoutput>
</cfloop>
<cfloop query="VARIABLES.overzichtHuisartsen">
<cfoutput>
<td>#Voornaam# #Achternaam#</td>
</cfoutput>
</cfloop>
<cfloop query="VARIABLES.overzichtDiagnose">
<cfoutput>
<td>#Type#</td>
</tr>
</cfoutput>
</cfloop>
</table>
It doesn't come out the way I wanted the results are on wrong places..
I use ColdFusion with the framework Fusebox. And the queries are SELECT * FROM [table_name];
.
Please help..