DB_common::commit()
Throws
Table 39-1. Possible PEAR_Error values
| Error code | Error message | Reason | Solution |
|---|---|---|---|
| every other error code | Database specific error | Check the database related section of PHP-Manual to detect the reason for this error. |
Note
This function can not be called statically.
When using MySQL as your DBMS, transactions can only be used when the tables in question use the InnoDB format.
Example
Example 39-1. Using commit()
|
