ADOdb Library for PHP Manual
Prev CommitTrans Next

CommitTrans($ok=true)

End a transaction successfully. Returns true if successful. If the database does not support transactions, will return true also as data is always committed.

If you pass the parameter $ok=false, the data is rolled back. See example in BeginTrans().


Prev Home Next
BeginTrans Up RollbackTrans

Sponsored by phpLens