mirror of
https://github.com/sigmasternchen/php-doc-en
synced 2025-03-16 00:48:54 +00:00
Improved explanation of what last insert id returns
https://bugs.php.net/bug.php?id=69400 git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@342218 c90b9560-bf6c-de11-be94-00142212c4b1
This commit is contained in:
parent
2342022e8a
commit
37bea61c69
1 changed files with 4 additions and 4 deletions
|
@ -18,10 +18,10 @@
|
|||
</methodsynopsis>
|
||||
<para>
|
||||
The <function>mysqli_insert_id</function> function returns the ID generated
|
||||
by a query on a table with a column having the AUTO_INCREMENT attribute. If
|
||||
the last query wasn't an INSERT or UPDATE statement or if the modified table
|
||||
does not have a column with the AUTO_INCREMENT attribute, this function will
|
||||
return zero.
|
||||
by a query (usually INSERT) on a table with a column having the
|
||||
AUTO_INCREMENT attribute. If the there hans't been an INSERT or UPDATE
|
||||
statement on the connection or if the modified table does not have a column
|
||||
with the AUTO_INCREMENT attribute, this function will return zero.
|
||||
</para>
|
||||
<note>
|
||||
<para>
|
||||
|
|
Loading…
Reference in a new issue