You need to make use of the STARTROW and MAXROWS attributes of the CFOUTPUT tag to do this.
Hatton On Nov 26, 2007 4:15 AM, Ali Majdzadeh <[EMAIL PROTECTED]> wrote: > Hi: > I'm trying to make a show dynamic data (dynamic table) using dw/cf8. I works > fine but it shows data down the page while I need them in two side by side > groups (columns). I write down the code : > > <cfquery name="members" datasource="test"> > SELECT ID, firstName, lastName, email > FROM Membership > </cfquery> > > <table border="0" cellpadding="0" cellspacing="0"> > <tr> > <td>First Name</td> > <td>Last Name</td> > <td>Email</td> > </tr> > <cfoutput query="members"> > <tr> > <td>#members.firstName#</td> > <td>#members.lastName#</td> > <td>#members.email#</td> > </tr> > </cfoutput> > </table> > > > I found a DW extension after some googling made by Tom Muck named > Horizontal/Vertical Looper which does the job but it is for php/sql not CF. > Can you please help me find out a way to show dynamic data in two groups > instead of one that goes down the page using CF8? Please? > Thanks > Benign > > ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~| Enterprise web applications, build robust, secure scalable apps today - Try it now ColdFusion Today ColdFusion 8 beta - Build next generation apps Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:293802 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4