Sophek,
loop and display a TD tag for each recordset item, then use the MOD operator
to add a new row every 4th iteration within your loop.

On 5/10/2005 2:44:15 PM, [email protected] wrote:
> Hi Everyone,
>
> I don't use cfloop very much, so I got this table, I want to display
> in 4 columns, how do you do that using a cfloop?
>
> <form>
> <table border="1">
> <tr>
> <cfloop index="h" from="10" to="12" step="1">
> <cfloop index="m" from="00" to="55" step="5">
> <cfoutput>
> <cfset mytime = CreateTime(h, m, "00")>
> <td><input type="checkbox" value=""></td>
> <td valign="top" nowrap>&nbsp;&nbsp;#TimeFormat(mytime,"HH:MM
> tt")#&nbsp;&nbsp;</td>
> <td><input type="text" size="3"></td>
> </cfoutput>
> </cfloop>
> </cfloop>
> </tr>
> </table>
> </form>
>
> Thanks
> Sophek
> ----------------------------------------------------------
> To post, send email to [email protected]
> To unsubscribe:
> http://www.dfwcfug.org/form_MemberUnsubscribe.cfm
> To subscribe:
> http://www.dfwcfug.org/form_MemberRegistration.cfm

----------------------------------------------------------
To post, send email to [email protected]
To unsubscribe: 
   http://www.dfwcfug.org/form_MemberUnsubscribe.cfm
To subscribe: 
   http://www.dfwcfug.org/form_MemberRegistration.cfm


Reply via email to