Skip to main content
Inspiring
January 18, 2007
Question

Output Recs in Tabular Form

  • January 18, 2007
  • 1 reply
  • 369 views
I need to output a recordset populated with two columns in Tabular form (ItemID, ItemDesc).
Output recs Four in one row and four in another. until EOF


Eg. ItemID/ItemDesc ItemID/ItemDesc ItemID/ItemDesc ItemID/ItemDesc

ItemID/ItemDesc ItemID/ItemDesc ItemID/ItemDesc ItemID/ItemDesc
This topic has been closed for replies.

1 reply

Inspiring
January 18, 2007
<table>
<tr>
<cfoutput query="yourquery">
<td>#data#</td>
<cfif currentrow is recordcount>
</tr>
cfelseif currentrow mod 4 is 0>
</tr><tr>
</cfoutput>
umuayoAuthor
Inspiring
January 18, 2007
Will try