This is what I want to achieve
I have a database with a list of authors. I wantto set up a page that will list the authors alphabeticaly in 2 colums on a page
ie:
A authors B Authors
C authors D Authors
Is there a do while loop in Cold fusion?
I'm thinking I should set this page up like.
<table>
x=1
Do while X < 26
x=x+2
<tr>
<td>
print all records where record_group = x
</td>
<td>
print all records where record_group = x+1
</td>
</tr>
Loop
</table>
I have a database with a list of authors. I wantto set up a page that will list the authors alphabeticaly in 2 colums on a page
ie:
A authors B Authors
C authors D Authors
Is there a do while loop in Cold fusion?
I'm thinking I should set this page up like.
<table>
x=1
Do while X < 26
x=x+2
<tr>
<td>
print all records where record_group = x
</td>
<td>
print all records where record_group = x+1
</td>
</tr>
Loop
</table>