Skip to main content
February 24, 2007
Question

How can i show two rows?

  • February 24, 2007
  • 2 replies
  • 287 views
Hello,

I would like to know how can I show 2 rows of results in coldfusion + access, like showing

______________________________________________
photo 01 | photo 02
photo 03 | photo 04
photo 05 | photo 06

............

Thanks
This topic has been closed for replies.

2 replies

Inspiring
February 24, 2007
Those are columns, not rows. If they are query results, like this

<tr>
<cfoutput query="something">
<td>#data#</td>
<cfif currentrow is recordcount>
</tr>
<cfelseif currentrow mod 2 is 0>
</tr><tr>
</cfif>
</cfoutput>
Participating Frequently
February 24, 2007
Look at the documentation for the mod operator... very useful