Using this code:

<cfscript>
QstnKey = ArrayNew(3);
QstnKey[1][1][1] = "TEst1";
QstnKey[1][2][1]="a. choice 1";
QstnKey[1][2][2]="b. choice 2";
QstnKey[1][2][3]="c. choice 3";
QstnKey[1][3[1]="a. choice 1";
QstnKey[1][3[2]="b. choice 2";
QstnKey[1][3[3]="c. choice 3";
QstnKey[2][1][1]="Test2";
QstnKey[2][2][1]="a. choice 1";
QstnKey[2][2][2]="b. choice 2";
QstnKey[2][2][3]="c. choice 3";
QstnKey[2][3][1]="a. choice 1";
QstnKey[2][3][2]="b. choice 2";
</cfscript>

How could I dynamically determine the number of questions per test? The answer 
for Test1 = 2.

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Special thanks to the CF Community Suite Silver Sponsor - RUWebby
http://www.ruwebby.com

Message: http://www.houseoffusion.com/lists.cfm/link=i:4:187079
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Donations & Support: http://www.houseoffusion.com/tiny.cfm/54

Reply via email to