Question
cfloop problem
Hi Folks,
I'm currently trying to loop through the posted form variables that are created on the fly. Using the code attached. However I get a very undesciprive error message which doesn't help at all, Can anyone help?
Thankyou
Error Occurred While Processing Request
400 : <cfif type eq 'pt'>
401 :
402 : <cfset endTime = createdateTime(form["startday"& i], form["startmonth"& i], form["startyear"& i], form["endhour"& i], form["endmin"& i],0)>
403 : </cfif>
404 : INSERT INTO coursesessions (sessioncourse,sessionstartdate,sessionenddate,sessionvenue) VALUES (#courseid#,#newstartTime#, #endTime#,#form["courselocation"& i]#)
I'm currently trying to loop through the posted form variables that are created on the fly. Using the code attached. However I get a very undesciprive error message which doesn't help at all, Can anyone help?
Thankyou
Error Occurred While Processing Request
400 : <cfif type eq 'pt'>
401 :
402 : <cfset endTime = createdateTime(form["startday"& i], form["startmonth"& i], form["startyear"& i], form["endhour"& i], form["endmin"& i],0)>
403 : </cfif>
404 : INSERT INTO coursesessions (sessioncourse,sessionstartdate,sessionenddate,sessionvenue) VALUES (#courseid#,#newstartTime#, #endTime#,#form["courselocation"& i]#)