Php/docs/sqlite3.lastinsertrowid

From Get docs

SQLite3::lastInsertRowID

(PHP 5 >= 5.3.0, PHP 7)

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


Description

public SQLite3::lastInsertRowID ( ) : int

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


Parameters

This function has no parameters.


Return Values

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