(PHP 5 >= 5.5.0, PHP 7)
Starts a transaction
public bool mysqli::begin_transaction ([ int $flags [, string $name ]] )
Object oriented style (method):
Procedural style:
bool mysqli_begin_transaction ( mysqli $link [, int $flags [, string $name ]] )
Begins a transaction. Requires MySQL 5.6 and above, and the InnoDB engine (it is enabled by default). For additional details about how MySQL transactions work, see ยป http://dev