Skip to main content
Participant
August 13, 2006
Question

Can anyone help me with columns please?

  • August 13, 2006
  • 1 reply
  • 265 views
HI - I have read all the posts on columns and have been trying to achieve this all day with varying degrees of success.
Is there any chance anyone could please put me out of my misery and insert the code into my page for me please? I'd be so grateful. I'd like at least 3 and possibly 6 columns please. Thanks ( It's to display thumbnail pictures )
Thank you so, so much in anticipation.

This topic has been closed for replies.

1 reply

Inspiring
August 14, 2006
Your code is unreadable, but this is how you put query data into 3 columns.

<table>
<tr>
<cfoutput query="somequery">
<td>#data#</td>
<cfif currentrow mod 3 is 0 and currentrow lt recordcount>
</tr><tr>
</cfif>
</cfoutput>
</tr>
</table>