(PHP 5, PHP 7)
mysqli_stmt::$insert_id -- mysqli_stmt_insert_id — Get the ID generated from the previous INSERT operation
Object oriented style
Procedural style
$stmt
This function is currently not documented; only its argument list is available.