From ac39f3d103b248ec542509d992b3711da88527f2 Mon Sep 17 00:00:00 2001 From: "Jesus M. Castagnetto" Date: Fri, 5 Sep 2003 01:17:06 +0000 Subject: [PATCH] clarification on how mysql_error() gets the error msg git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@139639 c90b9560-bf6c-de11-be94-00142212c4b1 --- reference/mysql/functions/mysql-error.xml | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/reference/mysql/functions/mysql-error.xml b/reference/mysql/functions/mysql-error.xml index 1de2420f97..5b68e1a290 100644 --- a/reference/mysql/functions/mysql-error.xml +++ b/reference/mysql/functions/mysql-error.xml @@ -1,5 +1,5 @@ - + @@ -19,7 +19,10 @@ Returns the error text from the last MySQL function, or - '' (the empty string) if no error occurred. + '' (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. Errors coming back from the MySQL database backend no longer