How do you get the computer to remember the old record so after you search, find and display it, type in changes in a web form and then do the replace. I don't want to create a new record, but update the current record
Each record should have a unique identifier, such as an auto_increment column for MySQL (every database has something like this, sometimes called a sequence). So when you are editing record 123, then you pass 123 as a hidden value in your form and then you'll know what record to update...
--
---John Holmes...
Amazon Wishlist: www.amazon.com/o/registry/3BEXC84AB3A5E/
php|architect: The Magazine for PHP Professionals – www.phparch.com
-- PHP Database Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php