ADOdb

Database Abstraction Layer for PHP

User Tools

Site Tools


v5:activerecord:lastinsertid

This is an old revision of the document!


lastInsertId

Syntax
int lastInsertID(
  resource &$db,
  string $fieldname
  )

Description

This function returns the last insert id from the specified database.

v5/activerecord/lastinsertid.1449546977.txt.gz · Last modified: 2017/04/21 11:21 (external edit)