<cfquery name="foo" datasource="myDsn">
Insert into MyTable(FieldtoInsertTo)
Values('#form.field1# #form.field2# #form.field3#')
</cfquery>
(notice that you put only one set of single quotes around all 3 form vars. (I'm assuming these are all text fields, otherwise you wouldn't use the quotes)
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.