MySQL and PHP

5.29.9 SqlStatementResult::getLastInsertId

Copyright 1997-2019 the PHP Documentation Group.

Description

public String mysql_xdevapi\SqlStatementResult::getLastInsertId();

Warning

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

Parameters

This function has no parameters.

Return Values

The ID for the last insert operation.

Examples

Example 5.142 mysql_xdevapi\SqlStatementResult::getLastInsertId example


<?php

/* ... */

?>