|
|
|||||||||
|
|||||||||
| |||||||||
|
|
|
| |||||||||
![]() |
|
|
«
Previous Thread
|
Next Thread
»
|
Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
|
|
Generate data entry and reporting .NET Web apps in minutes, straight from your database. Read our FREE whitepaper “Build Web 2.0 Applications Without Hand-Coding” Download now! |
|
#1
|
|||
|
|||
|
How do I......
How do I use a variable with another variable ? Also am I using the listAppend properly? Here is an example...
<CFSET ques=""> <CFLOOP from="1" to="#SESSION.NumberOfQuest#" index="i"> <CFSET "SESSION.QuestVal#i#"="FORM.question#i#"> <CFSET listAppend(ques,"#SESSION.QuestVal#i##")> <!---see it has 2 ## side by side how do I do this?---> </CFLOOP> |
|
#2
|
||||
|
||||
|
Try this
try this , "#SESSION.QuestVal##i#")>
if it doesn't work do this "#SESSION.QuestVal#""#i#")> if that doesn't work ignore my advise -Alas |
|
#3
|
|||
|
|||
|
try:
#session['questval#i#']#
__________________
Ask if you have a question, but also help answer questions that you have knowledge of! Thanks, Brian. How to Post a Question in the Forums |
![]() |
| Viewing: Dev Shed Forums > Programming Languages - More > ColdFusion Development > How do I...... |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|
|
|