Re: db transaction
| From: | Stig S. Bakken | Date: | Tue, 26 Feb 2002 06:25:46 +0000 |
| Subject: | Re: db transaction | ||
| References: | 1 | Groups: | php.pear.general |
| Request: | Send a blank email to pear-general+get-907@lists.php.net to get a copy of this message | ||
On Mon, 2002-02-25 at 17:16, Kancha wrote:
> How can i use transaction with pear db. I saw rollback() and commit()
> but don't know how to start a transaction using pear. Can anybody on the
> list give a small example ??
This starts a transaction:
$dbh->autoCommit(false);
- Stig