Basic HTML version of Foils prepared May 3 1998

Foil 41 Creating an Insert Page with CFINSERT

From Java Blend and Cold Fusion High Level Database Interfaces CPS616 Web Technologies -- Spring 98. by Chao Wei Ou


1 The CFINSERT tag is the easiest way to handle simple inserts from either a CFFORM or an HTML form.
2
3 The ODBC data source is named "Employees DB" and the table you want to insert data into is named "Employees." Given this information, the CFINSERT tag would be included in your page as follows:
4
5 Example: (insdata.cfm)
6
7 <CFINSERT DATASOURCE="CF 3.0 Examples" TABLENAME="Employees">

in Table To:


© Northeast Parallel Architectures Center, Syracuse University, npac@npac.syr.edu

If you have any comments about this server, send e-mail to webmaster@npac.syr.edu.

Page produced by wwwfoil on Sat Nov 28 1998