Peter Westergaard wrote:

I'm developing a site where I anticipate the need to make several updates to
several forms, and I'll want to "commit" them all at once (i.e. if there's a
failure with any of the transactions, I'd like to be able to back out to
before I started).

Is there a decent way to do this with PHP and Mysql?

Use InnoDB tables which have transaction support.

Or use a database abstraction layer that simulates transactions such as ADOdb:

---John Holmes...

Amazon Wishlist:

php|architect: The Magazine for PHP Professionals –

PHP Database Mailing List (
To unsubscribe, visit:

Reply via email to