PHP Manual
mysqli_rollback
(PHP 5)
mysqli_rollback(no version information, might be only in CVS)
mysqli->rollback() -- Rolls back current transactionDescription
bool mysqli_rollback ( mysqli link )class mysqli {
bool rollback ( void )
}
Rollbacks the current transaction for the database.
Parameters
linkProcedural style only: A link identifier returned by mysqli_connect() or mysqli_init()
Examples
Example 2. Procedural style
|
The above example will output:
0 rows in table myCity. 50 rows in table myCity (after rollback). |
Support PHPRO.ORG
Search
PHPRO.ORG Poll
Warning: Participation in PHPRO.ORG polls may incorrectly lead you to believe your opinions matter.

RSS Feed




