|
Последние активные темы форума |
|
PDO::lastInsertId
(no version information, might be only in CVS) PDO::lastInsertId --
Returns the ID of the last inserted row
Descriptionint PDO::lastInsertId ( void ) Внимание |
Эта функция является ЭКСПЕРИМЕНТАЛЬНОЙ.
Поведение этой функции, ее имя и относящаяся к ней документация
могут измениться в последующих версиях PHP без уведомления.
Используйте эту функцию на свой страх и риск. |
Замечание:
Due to differences between database server implementations, this method
may not always return a meaningful result.
Возвращаемые значенияReturns an integer representing the row ID of the last row that was
inserted into the database. If the PDO driver does not support this
capability, PDO::lastInsertID() issues a PDOWarning
exception.
|