Works with all queries (bug #50171)

git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@290747 c90b9560-bf6c-de11-be94-00142212c4b1
This commit is contained in:
Jakub Vrana 2009-11-14 15:43:46 +00:00
parent 6685437591
commit bc66ad1b3d

View file

@ -3,7 +3,7 @@
<refentry xml:id="function.mysql-insert-id" xmlns="http://docbook.org/ns/docbook">
<refnamediv>
<refname>mysql_insert_id</refname>
<refpurpose>Get the ID generated from the previous INSERT operation</refpurpose>
<refpurpose>Get the ID generated in the last query</refpurpose>
</refnamediv>
<refsect1 role="description">
@ -14,7 +14,7 @@
</methodsynopsis>
<para>
Retrieves the ID generated for an AUTO_INCREMENT column by the previous
INSERT query.
query (usually INSERT).
</para>
</refsect1>
@ -31,7 +31,7 @@
&reftitle.returnvalues;
<para>
The ID generated for an AUTO_INCREMENT column by the previous
INSERT query on success, <literal>0</literal> if the previous
query on success, <literal>0</literal> if the previous
query does not generate an AUTO_INCREMENT value, or &false; if
no MySQL connection was established.
</para>