Documentation Home
Connectors and APIs Manual
Download this Manual

Connectors and APIs Manual  /  ...  /  mysqli_stmt::$insert_id, mysqli_stmt_insert_id

8.3.10.18 mysqli_stmt::$insert_id, mysqli_stmt_insert_id

Copyright 1997-2019 the PHP Documentation Group.

  • mysqli_stmt::$insert_id

    mysqli_stmt_insert_id

    Get the ID generated from the previous INSERT operation

Description

Object oriented style

int mysqli_stmt->insert_id ;

Procedural style

mixed mysqli_stmt_insert_id(mysqli_stmt stmt);
Warning

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