Hi Joe,

thanks for your reply, but this ain't the way i wanted it to be displayed...
the way you described is like

1        2        3
4        5        6
7        8        9
10      11      12
...

but i wanted it like

1   5   9
2   6   10
3   7   11
4   8   12

Hope this is possible...!?!

Patric

----- Original Message -----
From: Joseph Eugene <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Sunday, May 28, 2000 8:15 PM
Subject: Re: Another Query to Table


> Patric,
>             I am not sure what you are trying to do?
>             Do you want to put a database query results in the
>             format described below??
> If so, here is the code.
> <cfquery Name="Get_Data" datasource="">
> Select *from your_table.
> </cfquery>
>
>
> <table width="400" align="center" border="1">
> <tr>
> <cfoutput query="Get_data">
> <td>#Your_Column#</td>
> <cfif Get_Data.currentrow Mod 3 eq 0>
> </tr><tr>
> </cfif>
> </cfoutput>
> </tr>
> </table>
>
> Hope this helps
>
> Joe


------------------------------------------------------------------------------
Archives: http://www.eGroups.com/list/cf-talk
To Unsubscribe visit 
http://www.houseoffusion.com/index.cfm?sidebar=lists&body=lists/cf_talk or send a 
message to [EMAIL PROTECTED] with 'unsubscribe' in the body.

Reply via email to