Improve consistency with db2_stmt_error as suggested by Jean-Sebastien Goupil.

git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@185141 c90b9560-bf6c-de11-be94-00142212c4b1
This commit is contained in:
Dan Scott 2005-04-26 00:54:03 +00:00
parent fce688113c
commit ba65b79fa5

View file

@ -1,5 +1,5 @@
<?xml version="1.0" encoding="iso-8859-1"?>
<!-- $Revision: 1.2 $ -->
<!-- $Revision: 1.3 $ -->
<!-- Generated by xml_proto.php v2.2. Found in /scripts directory of phpdoc. -->
<refentry id="function.db2-stmt-errormsg">
<refnamediv>
@ -19,6 +19,13 @@
<para>
Returns a string containing the last SQL statement error message.
</para>
<para>
If you do not pass a statement resource as an argument to
<function>db2_stmt_errormsg</function>, the driver returns the error
message associated with the last attempt to return a statement resource,
for example, from <function>db2_prepare</function> or
<function>db2_exec</function>.
</para>
</refsect1>
<refsect1 role="parameters">
@ -42,13 +49,6 @@
Returns a string containing the error message and SQLCODE value for the
last error that occurred issuing an SQL statement.
</para>
<para>
If you do not pass a statement resource as an argument to
<function>db2_stmt_errormsg</function>, the driver returns the error
message associated with the last attempt to return a statement resource,
for example, from <function>db2_prepare</function> or
<function>db2_exec</function>.
</para>
</refsect1>
<!-- Use when examples exist