Not sure what you mean by side by side... This?

 <cfquery name="members" datasource="test"> SELECT ID, firstName, 
 lastName, email FROM Membership </cfquery>

 <table border="0" cellpadding="0" cellspacing="0">
   <cfoutput query="members">
   <tr>
     <td>First Name</td>
      <td>#firstName#</td>
   </tr>
   
   <tr>
     <td>Last Name</td>
     <td>#lastName#</td>
   </tr>
   
   <tr>
     <td>Email</td>
     <td>#email#</td>
   </tr>
   <tr><td colspan="3"><hr /></td></tr>
   </cfoutput>
 </table>

OR do you mean...

<table border="0" cellpadding="0" cellspacing="0">
<tr>
<td>FirstName:</td>
<cfloop from="1" to="#members.recordcount#"
index="f"><td>#members['firstname'][f]#</td></cfloop>
</tr>

<tr>
<td>LastName:</td>
<cfloop from="1" to="#members.recordcount#"
index="l"><td>#members['lastname'][l]#</td></cfloop>
</tr>

<tr>
<td>Email:</td>
<cfloop from="1" to="#members.recordcount#"
index="e"><td>#members['email'][e]#</td></cfloop>
</tr>
</table>

Or do you mean something else entirely?

..:.:.:.:.:.:.:.:.:.:.:.:.
Bobby Hartsfield
http://acoderslife.com




~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Create robust enterprise, web RIAs.
Upgrade to ColdFusion 8 and integrate with Adobe Flex
http://www.adobe.com/products/coldfusion/flex2/?sdid=RVJP

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:293810
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4

Reply via email to