SQLite3
PHP Manual

SQLite3::lastInsertRowID

(PHP 5 >= 5.3.0)

SQLite3::lastInsertRowIDReturns the row ID of the most recent INSERT into the database

Descrição

public int SQLite3::lastInsertRowID ( void )

Returns the row ID of the most recent INSERT into the database.

Parâmetros

Esta função não contém parâmetros.

Valor Retornado

Returns the row ID of the most recent INSERT into the database


SQLite3
PHP Manual