View Single Post
Old 06-01-2012, 11:20 AM   PM User | #1
theborg72
New Coder

 
Join Date: May 2010
Location: Sweden
Posts: 15
Thanks: 1
Thanked 0 Times in 0 Posts
theborg72 is an unknown quantity at this point
Question CurrentRow MOD And Br

hello I'm trying to get a loop. The idea is to just
create a table that shows 2 row and 5 column.


Instead of
1
2
3
4
a.s.o


I want
12345
space writable
678910


I've made a CurrentRow MOD and it working right to left, but
not the space

even if it is possible to loop the table instead of the columns


Code:
<table width="500" border="1">
<tr><cfoutput query="testrec" startRow="#StartRow_testrec#" maxRows="#MaxRows_testrec#">
<td>#testrec.tblOnskelista# </td>
<CFIF testrec.CurrentRow MOD 5 IS 0>
 
</TR>
<TR></TR>
</CFIF>
</cfoutput>
</table>
theborg72 is offline   Reply With Quote