I have a dumb question. I'm trying to display the ...
# cfml-general
f
I have a dumb question. I'm trying to display the output of a query in a loop with a table
m
Copy code
<cfoutput>
<table>
	<thead>
		<tr>
			<th>column 1</th>
			<th>column 2</th>
			<th>column 3</th>
		</tr>
	</thead>
	<tbody>
	<cfloop query="myquery">
		<tr>
			<td>#myquery.column1#</td>
			<td>#myquery.column2#</td>
			<td>#myquery.column3#</td>

		</tr>
	</cfloop>
	</tbody>
<table>
</cfoutput>
👍🏼 1