SQLite3
PHP Manual

SQLite3::lastInsertRowID

(PHP 5 >= 5.3.0)

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

Описание

public int SQLite3::lastInsertRowID ( void )

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

Список параметров

This function has no parameters.

Возвращаемые значения

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


SQLite3
PHP Manual