jmcastagnetto Thu Sep 4 21:17:07 2003 EDT
Modified files:
/phpdoc/en/reference/mysql/functions mysql-error.xml
Log:
clarification on how mysql_error() gets the error msg
Index: phpdoc/en/reference/mysql/functions/mysql-error.xml
diff -u phpdoc/en/reference/mysql/functions/mysql-error.xml:1.7
phpdoc/en/reference/mysql/functions/mysql-error.xml:1.8
--- phpdoc/en/reference/mysql/functions/mysql-error.xml:1.7 Wed Jul 9 11:07:29
2003
+++ phpdoc/en/reference/mysql/functions/mysql-error.xml Thu Sep 4 21:17:06 2003
@@ -1,5 +1,5 @@
<?xml version="1.0" encoding="iso-8859-1"?>
-<!-- $Revision: 1.7 $ -->
+<!-- $Revision: 1.8 $ -->
<!-- splitted from ./en/functions/mysql.xml, last change in rev 1.2 -->
<refentry id="function.mysql-error">
<refnamediv>
@@ -19,7 +19,10 @@
</methodsynopsis>
<para>
Returns the error text from the last MySQL function, or
- <literal>''</literal> (the empty string) if no error occurred.
+ <literal>''</literal> (the empty string) if no error occurred.
+ If not connection is explicitely passed to the function, the last
+ successful connection will be used to retrieve the error message
+ from the MySQL server.
</para>
<para>
Errors coming back from the MySQL database backend no longer