Claude,

        This will cause the output to be listed in 2 columns.  Include
everything you want in each column with the #field_name# between the
<td></td>.  Such as ...

<td>#field_name# #field_name2# description of fields</td>

to change the number of columns change the value of currentrow/2 to the
number of columns you want. IE: currentrow/10 would give you 10 columns
instead of 2 and must match in both places.  If you don't want to close off
the table row at the end of the output just leave off the last </tr>.

<!---code--->
<tr>
<cfoutput query="your_query">
<td>#field_name#</td>
<cfif round(your_query.currentrow/2) eq (your_query.currentrow/2)>
</tr><tr>
</cfif>
</cfoutput>
</tr>

Seajay


----- Original Message -----
From: <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Sunday, April 09, 2000 4:50 PM
Subject: Re: [Re: [Hlelp with populating data across a 2 column table]]


<table>
  <cfoutput query="name">
   <tr>
     <td>#title#</td>
     <td>&nbsp;</td>
   </tr>
  </cfoutput>
</table>

"Internet Gold Coast Properties" <[EMAIL PROTECTED]>
wrote:
no you misunderstand

I am wanting to have two columns of data within a table but have the data
filled from the query



Kind Regards

Claude Raiola
E-Mail: [EMAIL PROTECTED]
Website: www.internetgoldcoastproperties.com.au




------------------------------------------------------------------------------
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