maxdb->insert_id()
maxdb->insert_id - Returns the auto generated id used in the last query
Syntax
mixed maxdb->insert_id (
resource $link)
Arguments
Description
Procedural style:
Version
PHP PECL maxdb >= 1.0
Return value
The value of the DEFAULT SERIALfield that was updated by the previous query. Returns zero if there was no previous query on the connection or if the query did not update an DEFAULT_SERIALvalue.