PDA

View Full Version : passing form data to a coldfusion page


carlvernon
11-07-2005, 07:12 PM
is it possible to post the choices people make on a html page's form to a coldfusion page and then to have coldfusion write that data to a database

SteelValor
11-07-2005, 08:30 PM
sure is! This isn't current but it'll get you started. http://hotwired.lycos.com/webmonkey/99/17/index1a.html?tw=programming

ccl
12-04-2005, 06:01 AM
<cfquery name="saveData" datasource="your data source">
INSERT INTO tableName
(Field_1, Field_2, Field_3)
VALUES
(
'#Form.field_1#',
'#Form.field_2#',
'#Form.field_2#'
)
</cfquery>