Chapter 4
Adding Rows to Database Tables from Web Forms
Chapter Objectives
Add rows to a table with SQL's INSERT statement
Build automatically incrementing sequences
Topics
Nile dot Com
Database schema
INSERT syntax
Automatic incrementing
Lab
: A CGI script that:
Reads and validates fields from a form.
Opens the database.
INSERTs the form data as a new row in a table.
Auto-increments the ID field.
Summary
[ ] [
Course Contents
] [
Home
] [
Curriculum
]
http://www.keller.com/dbweb/4/index.html
Updated
Wednesday, 31-Oct-2001 14:17:45 CST
Copyright © 2006
Dan Keller Technical Services
4500 19th St., San Francisco
California, USA 94114
tel: 415 / 861-4500