(PHP 5, PHP 7)
Commits the current transaction
bool mysqli::commit ([ int $flags [, string $name ]] )
Object oriented style
Procedural style
bool mysqli_commit ( mysqli $link [, int $flags [, string $name ]] )
Commits the current transaction for the database connection.
Parameters:
link
Procedural style only: A link identifier returned by mysqli_connect() or mysqli_init()