Clarified & cleared up mysql_change_user() a bit.

git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@74143 c90b9560-bf6c-de11-be94-00142212c4b1
This commit is contained in:
Sander Roobol 2002-03-19 19:54:07 +00:00
parent 29b0455446
commit e9fc8ec158

View file

@ -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>