I'm still having difficulty understanding whats going on. What am I doing wrong? Here 
is my code.

COOKIE.DisplaySelect = "inetpub,other,test,temo,windows"

<cfif COOKIE.DisplaySelect GT 0>
        <cfloop index="ListElement" list="#COOKIE.DisplaySelect#" delimiters=",">
        <cfoutput>
        <table width="100%" cellpadding="2" cellspacing="2" border="0">
        <tr>
        <cfset x=1>
        <cfif NOT x MOD 3></tr><cfif x NEQ #ListElement.RecordCount#><tr></cfif></cfif>
        <cfset x = x + 1>
        <td><input type="checkbox" name="select" value="checked">#ListElement#</td>
        </tr>
        </table>        
        </cfoutput>
        </cfloop>

<cfelse>
        &nbsp;<b>None Selected</b>
</cfif>

On Tue, 24 Sep 2002 13:35:48 -0400, Hatton Humphrey wrote:

> here's some code I just used:
> <table>
> <tr>
> <cfset x=1>
> <cfloop query="Images">
>     <td><img src="../userimages/#Images.cFileName#"></td>
>     <cfif NOT x MOD 3></tr><cfif x NEQ Images.RecordCount><tr></cfif></cfif>
>     <cfset x = x + 1>
> </cfloop>
> </table>
> 
> Enjoy!
> Hatton
> 
> FlashGuy wrote:
> 
> >Yo all,
> >
> >I'm doing a <cfloop on my cookie variable which is being picked up from my database 
>and set.
> >
> >I want to display the results into three columns rather than just one.
> >
> >Here is my code.
> >
> ><cfif cookie.DisplaySelect GT 0>
> ><cfoutput>
> >                    Display Results:
> >                   <cfloop index="ListElement" list="#cookie.DisplaySelect#" 
>delimiters=",">
> >                   #ListElement#<br>
> >                  </cfloop>
> ></cfoutput>
> ><cfelse>
> >                  Display Results: None Selected
> ></cfif>
> >
> >Here is the output:
> >
> >program files
> >temp
> >test
> >windows
> >
> >
> >How can I display it as a 3 column table? The output varies depending on directory 
>structure.
> >
> >program files                    temp                           test
> >windows                         etc.                             etc.
> >etc.                                  etc.                             etc...
> >
> >
> >
> >---------------------------------------------------
> >Colonel Nathan R. Jessop
> >Commanding Officer
> >Marine Ground Forces
> >Guatanamo Bay, Cuba
> >---------------------------------------------------
> >
> >
> >
> >
> >-------------------------------------------------------------------------
> >This email server is running an evaluation copy of the MailShield anti-
> >spam software. Please contact your email administrator if you have any
> >questions about this message. MailShield product info: www.mailshield.com
> >
> >-----------------------------------------------
> >To post, send email to [EMAIL PROTECTED]
> >To subscribe / unsubscribe: http://www.dfwcfug.org
> >
> >  
> >
> 
> 
> 
> -------------------------------------------------------------------------
> This email server is running an evaluation copy of the MailShield anti-
> spam software. Please contact your email administrator if you have any
> questions about this message. MailShield product info: www.mailshield.com
> 
> -----------------------------------------------
> To post, send email to [EMAIL PROTECTED]
> To subscribe / unsubscribe: http://www.dfwcfug.org



---------------------------------------------------
Colonel Nathan R. Jessop
Commanding Officer
Marine Ground Forces
Guatanamo Bay, Cuba
---------------------------------------------------




-------------------------------------------------------------------------
This email server is running an evaluation copy of the MailShield anti-
spam software. Please contact your email administrator if you have any
questions about this message. MailShield product info: www.mailshield.com

-----------------------------------------------
To post, send email to [EMAIL PROTECTED]
To subscribe / unsubscribe: http://www.dfwcfug.org

Reply via email to