mysqli_rollback
(PHP 5)
mysqli_rollback(no version information, might be only in CVS)
mysqli->rollback() -- Rolls back current transactionOpis
bool mysqli_rollback ( mysqli link )class mysqli {
bool rollback ( void )
}
Rollbacks the current transaction for the database.
Parametry
link
Procedural style only: A link identifier returned by mysqli_connect() or mysqli_init()
Przykłady
Przykład 2. Procedural style
|
Powyższy przykład wyświetli:
0 rows in table myCity. 50 rows in table myCity (after rollback). |
Poprzedni | Spis treści | Następny |
mysqli_report | Początek rozdziału |