Hi all,
I am doing something I consider relatively simple, yet CF doesn't agree. I
have one loop nested inside the other, and a value from the first loop is
displayed in the second, but for some reason, the value from the first
iteration of the first loop persists in the second loop for each iteration
of the first. After reading that I am confused too... but here is the code.
Maybe some fresh eyes will help.

<CFLOOP QUERY="qryGetCategories">
<TR>
<TD>#txtCategoryEng#</TD>
<TD>
<CFLOOP QUERY="qryGetCategoryPermissions">
  <INPUT TYPE="Radio"
NAME="#qryGetCategories.intCategory#"VALUE="#intPermission#">
</CFLOOP>
</TD>
</TR>
</CFLOOP>

Here is the HTML output: (Notice that "47" is the name value of all radio
buttons, despite that the second set should be 48.

<TR>
<TD>Test</TD>
<TD>
<INPUT TYPE="Radio" NAME="47" VALUE="0">
<INPUT TYPE="Radio" NAME="47" VALUE="5">
<INPUT TYPE="Radio" NAME="47" VALUE="10">
</TD>
</TR>
<TR>
<TD>Test2</TD>
<TD>
<INPUT TYPE="Radio" NAME="47" VALUE="0">
<INPUT TYPE="Radio" NAME="47" VALUE="5">
<INPUT TYPE="Radio" NAME="47" VALUE="10">
</TD>
</TR>


Any help appreciated...

JM
------------------------------------------------------------------------------
Archives: http://www.mail-archive.com/[email protected]/
To Unsubscribe visit 
http://www.houseoffusion.com/index.cfm?sidebar=lists&body=lists/cf_talk or send a 
message to [EMAIL PROTECTED] with 'unsubscribe' in the body.

Reply via email to