PDO::beginTransaction

(no version information, might be only in CVS)

PDO::beginTransaction --  Initiates a transaction

Description

bool PDO::beginTransaction ( void )

Warning

This function is EXPERIMENTAL. The behaviour of this function, the name of this function, and anything else documented about this function may change without notice in a future release of PHP. Use this function at your own risk.

Turns off autocommit mode. Call PDO::commit() or PDO::rollback() to end the transaction and return to autocommit mode.