Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

table headers show after every row!

Status
Not open for further replies.

mimi2

Technical User
Apr 2, 2002
407
0
0
CA
Hi,
I am just out of ideas on this matter.
I am displaying simple rows from a query.
the headers appear after each row. I tried every imaginable trick!
<CFOUTPUT query=&quot;QRY_NUMBER&quot;>
<cfif #QRY_NUMBER.recordcount# is not '0'>
<table>
<tr><th>Date</th>
<th>Age</th>
</tr>

<tr><td>#Date#</td>
<td>#Age#</td>
</tr>
</table>
</cfif>
thanks for pointing out what i can't see!
 
Never mind. There was another table that spoiled the whole thing.
 
<table>
<tr><th>Date</th>
<th>Age</th>
</tr>

<CFOUTPUT query=&quot;QRY_NUMBER&quot;>
<cfif #QRY_NUMBER.recordcount# is not '0'>
<tr><td>#Date#</td>
<td>#Age#</td>
</tr>
</cfif>
</table>
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top