cvs: /phpdoc/functions mysql.sgml

From: Date: Fri, 05 Nov 1999 21:20:24 +0000
Subject: cvs: /phpdoc/functions mysql.sgml
Groups: php.dev 
Request: Send a blank email to php-dev+get-12145@lists.php.net to get a copy of this message
rasmus Fri Nov 5 16:20:24 1999 EDT Modified files: /phpdoc/functions mysql.sgml Log: Docs for mysql_change_user() Index: phpdoc/functions/mysql.sgml diff -u phpdoc/functions/mysql.sgml:1.14 phpdoc/functions/mysql.sgml:1.15 --- phpdoc/functions/mysql.sgml:1.14 Wed Oct 20 18:41:42 1999 +++ phpdoc/functions/mysql.sgml Fri Nov 5 16:20:23 1999 @@ -37,6 +37,33 @@ </refsect1> </refentry> + <refentry id="function.mysql-change-user"> + <refnamediv> + <refname>mysql_change_user</refname> + <refpurpose>Change logged in user on active connection</refpurpose> + </refnamediv> + <refsect1> + <title>Description</title> + <funcsynopsis> + <funcdef>int <function>mysql_change_user</function></funcdef> + <paramdef>string <parameter>user</parameter></paramdef> + <paramdef>string <parameter>password</parameter></paramdef> + <paramdef>string <parameter><optional>database</optional> + </parameter></paramdef> + <paramdef>int <parameter><optional>link_identifier</optional> + </parameter></paramdef> + </funcsynopsis> + <para> + <function>mysql_change_user</function> changes the logged in user on the current + active connection, or, if specified on the connection given by the link identifier. + If a database is specified, this will default or current database after the + user has been changed. If the new user/password combination fails to be authorized + the current connected user stays active.</para> + <para>Note that this function was introduced in PHP 3.0.13 and requires MySQL + 3.23.3 or higher.</para> + </refsect1> + </refentry> + <refentry id="function.mysql-close"> <refnamediv> <refname>mysql_close</refname>

« previous php.dev (#12145) next »