Chapter 6
Updating Database Records from Forms
Chapter Objectives
- Update rows in tables using the UPDATE statement
- Determine how many rows in a table were updated by the UPDATE statement
Lab: A CGI script that:
- Modifies values in a database with
SQL's UPDATE statement
- Example: discount the price on a book that's not
selling well
- Uses the rows method to count
the rows that were updated
Dan Keller Technical Services © 2000