Link to home
Start Free TrialLog in
Avatar of lulu50
lulu50Flag for United States of America

asked on

output an array

Hi,

I need to loop and output my array.


<cfset i="1" />
<cfset ListSubMenuArray = arraynew(2)> 
<cfloop query="DispSubMenu">
<cfset ListSubMenuArray [i][1]="#SubMenuName#" />
<cfset ListSubMenuArray [i][2]="#SubMenuURL#" />
<cfset i= i+1>
</cfloop> 
<cfloop index="i" from="1" to="#arrayLen(ListSubMenuArray )#">
 //here I need to output my array 


                             <td style="border-right: 1px solid #adc0d1;border-top: 1px solid #adc0d1;border-left: 
						1px solid #adc0d1;border-bottom: 1px solid #adc0d1;width:150px;height:30px;" background="images/bg.gif"><a href="Array URL Should be here" style="color: #000000" onMouseOver="this.style.color='#93b38e'" onMouseOut="this.style.color='#000000'"><cfoutput>#Array Name should be here#</cfoutput></a>
</td><



 </cfloop>

Open in new window

ASKER CERTIFIED SOLUTION
Avatar of _agx_
_agx_
Flag of United States of America image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of lulu50

ASKER

Thank you