sander Tue Mar 19 14:54:07 2002 EDT
Modified files:
/phpdoc/en/functions mysql.xml
Log:
Clarified & cleared up mysql_change_user() a bit.
Index: phpdoc/en/functions/mysql.xml
diff -u phpdoc/en/functions/mysql.xml:1.91 phpdoc/en/functions/mysql.xml:1.92
--- phpdoc/en/functions/mysql.xml:1.91 Sun Mar 17 08:27:17 2002
+++ phpdoc/en/functions/mysql.xml Tue Mar 19 14:54:07 2002
@@ -1,5 +1,5 @@
<?xml version="1.0" encoding="iso-8859-1"?>
-<!-- $Revision: 1.91 $ -->
+<!-- $Revision: 1.92 $ -->
<reference id="ref.mysql">
<title>MySQL Functions</title>
<titleabbrev>MySQL</titleabbrev>
@@ -278,18 +278,16 @@
<function>mysql_change_user</function> changes the logged in user
of the current active connection, or the connection given by the
optional <parameter>link_identifier</parameter> parameter. If a
- database is specified, this will default or current database after
- the user has been changed. If the new user and password
+ database is specified, this will be the current database after
+ the user has been changed. If the new user and password
authorization fails, the current connected user stays active.
+ &return.success;
</para>
- <!-- what is returned? bool -> succes/failure i suppose? -->
- <!-- in PHP 3 int and in PHP 4 bool -->
-
<note>
<para>
This function was introduced in PHP 3.0.13 and requires MySQL
- 3.23.3 or higher.
+ 3.23.3 or higher. It is not available in PHP 4.
</para>
</note>
</refsect1>