INSERT INTO ETrueFalseQuestions VALUES (<cfoutput>#newTypeID#</cfoutput>, `<cfoutput>#FORM.Question#</cfoutput>`, <cfoutput>#FORM.truefalse#</cfoutput>, `<cfoutput>#FORM.falsetext#</cfoutput>` );
I get the error message:
Unknown column 'Question' in 'field list'
The error occurred in /opt/railo/tomcat/webapps/ROOT/Testmaster/Application/Admin/addmyquestion.cfm: line 207
205: <cfquery name="qUpdateTheQuestion" datasource="testmaster">
206: INSERT INTO ETrueFalseQuestions
207: VALUES (<cfoutput>#newTypeID#</cfoutput>, `<cfoutput>#FORM.Question#</cfoutput>`, <cfoutput>#FORM.truefalse#</cfoutput>, `<cfoutput>#FORM.falsetext#</cfoutput>` );
The unknown column Question is actually the value of FORM.Question, and will change depending on what you enter into the form. I cannot figure out why it is looking for a column with that name.
Any suggestions would be greatly appreciated.

New Topic/Question
Reply



MultiQuote




|