Re: Mysql and rollbacks
| From: | Kim Steinhaug | Date: | Tue, 13 Jul 2004 22:42:28 +0000 |
| Subject: | Re: Mysql and rollbacks | ||
| References: | 1 2 | Groups: | php.db |
| Request: | Send a blank email to php-db+get-35231@lists.php.net to get a copy of this message | ||
I was about to suggest the same, the latest builds of MySQL have theese
functions from what I knew... I think youll find what you need there.
--
Kim Steinhaug
-------------------------------------------------------------------------
There are 10 types of people when it comes to binary numbers:
those who understand them, and those who don't.
-------------------------------------------------------------------------
www.steinhaug.com - www.easywebshop.no - www.easycms.no www.webkitpro.com
-------------------------------------------------------------------------
"John W. Holmes" <holmes072000@charter.net> wrote in message
news:40F3FF66.8090100@charter.net...
> 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:
> http://phplens.com/adodb/tutorial.smart.transactions.html
>
> --
> ---John Holmes...
>
> Amazon Wishlist: www.amazon.com/o/registry/3BEXC84AB3A5E/
>
> php|architect: The Magazine for PHP Professionals www.phparch.com