I have the following array that I need to format like so, and need a 
seperate row for each. I am brain dead right now and cannot get it !!!


Title        Location           Date

title1       Location1         Date1
title2       Location2         Date2



Here is my code


<CFSCRIPT>
classes = ArrayNew(2);
classes[1][1] = 'title1';
classes[1][2] = 'location1';
classes[1][3] = 'date1';
classes[2][1] = 'title2';
classes[2][2] = 'location2';
classes[2][3] = 'date2';
classes[3][1] = 'title3';
classes[3][2] = 'location3';
classes[3][3] = 'date3';
</CFSCRIPT>

<TABLE WIDTH="50%" CELLPADDING="0" CELLSPACING="0" ALIGN="LEFT" 
BORDER="0">
 <TR>
  <TD BGCOLOR="##000000">
   <TABLE WIDTH="100%" CELLPADDING="2" CELLSPACING="1" 
BORDER="0">
  <CFOUTPUT>
   <CFLOOP FROM="1" TO="#arrayLen( classes )#" INDEX="i">
    <CFLOOP FROM="1" TO="#arrayLen( classes[1] )#" INDEX="j">
    <TR>
     <TD BGCOLOR="white">#classes[i][j]#</TD>
    </TR>
    </CFLOOP>
   </CFLOOP>
  </CFOUTPUT>
   </TABLE>
  </TD>
 </TR>
</TABLE>

"Success is a journey, not a destination!!"



Doug Brown

______________________________________________________________________
Dedicated Windows 2000 Server
  PIII 800 / 256 MB RAM / 40 GB HD / 20 GB MO/XFER
  Instant Activation � $99/Month � Free Setup
  http://www.pennyhost.com/redirect.cfm?adcode=coldfusiona
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq
Archives: http://www.mail-archive.com/[email protected]/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists

Reply via email to