mysqli::autocommit
mysqli::change_user
mysqli
PHP Manual

# mysqli::begin_transaction

# mysqli_begin_transaction

(PHP 5 >= 5.5.0)

mysqli::begin_transaction -- mysqli_begin_transaction — Starts a transaction

### Description

Object oriented style (method):

public bool mysqli::begin_transaction ([ int `$flags` [, string `$name` ]] )

Procedural style:

bool mysqli_begin_transaction ( mysqli `$link` [, int `$flags` [, string `$name` ]] )

Warning

This function is currently not documented; only its argument list is available.

### Parameters

`link`

  Procedural style only: A link identifier returned by mysqli_connect() or mysqli_init()

`flags`

`name`

### Return Values

Returns `TRUE` on success or `FALSE` on failure.

### See Also

- mysqli_autocommit() - Turns on or off auto-committing database modifications
- mysqli_commit() - Commits the current transaction
- mysqli_rollback() - Rolls back current transaction

mysqli::autocommit
mysqli::change_user
mysqli
PHP Manual