PDO :: rollBack

Share this…Facebook0TwitterLinkedinPrint Post Views: 1,626 PDO :: rollBack — Rolls back a transaction Description public bool PDO::rollBack ( void ) Rolls back the current transaction, as initiated by PDO::beginTransaction(). If the database was set to autocommit mode, this function will restore autocommit mode after it has rolled back the transaction. Some databases, including MySQL, automatically issue an implicit COMMIT when a database definition […]