Inserts records in data sources from data in a CFML form
or form Scope.
It can be used instead of cfquery with insert sql command.
<cfinsert datasource="" tablename="">
cfinsert(datasource="", tablename="");
providerdsn
, dbtype
, dbname
, dbserver
and provider
are deprecated in all engines
providerdsn
, dbtype
, dbname
, dbserver
and provider
are deprecated in all engines
providerdsn
, dbtype
, dbname
, dbserver
and provider
are deprecated in all engines
providerdsn
, dbtype
, dbname
, dbserver
and provider
are deprecated in all engines
Uses the cfinsert function to insert a record into the a users table based on a list form fields
cfinsert( datasource="myDsn", tablename="users", formFields="firstName,lastName,emailAddress" );
Signup for cfbreak
to stay updated on the latest news from the ColdFusion / CFML community. One email, every friday.