Hello,
i want to read a number of records from a database. It's just names (John Johnson etc.) But i never know what the result of the query will be, so i don't know how many records the query will return.
I want Cold Fusion to divide the number of results by three, so i can make three kolumns. But that's not all..
I want the records to be put on the screen like this:
1 5 9
2 6 10
3 7 11
4 8 12
Not this way:
1 2 3
4 5 6
7 8 9
10 11 12
How can i do this?
wouter [sig][/sig]
i want to read a number of records from a database. It's just names (John Johnson etc.) But i never know what the result of the query will be, so i don't know how many records the query will return.
I want Cold Fusion to divide the number of results by three, so i can make three kolumns. But that's not all..
I want the records to be put on the screen like this:
1 5 9
2 6 10
3 7 11
4 8 12
Not this way:
1 2 3
4 5 6
7 8 9
10 11 12
How can i do this?
wouter [sig][/sig]