Monday, May 23, 2011

Php Code: Update Mutiple Records in 1 Form

Update your multiple data records in 1 submit form. When you have a list and need to update them in one click.

This tutorial require 2 files and 1 table of mySQL database.

1. form.php, this file shows data records in an update form.
2. update.php, this file is the updater.
3. Database "tutorial" and table "name_list" with 2 fields: id(auto_increment), name(varchar, 50) and put some records about 20 - 30 records into this table. (directly by phpMyAdmin)

No comments:

Post a Comment