diff --git a/reference/mysqli/functions/mysqli-autocommit.xml b/reference/mysqli/functions/mysqli-autocommit.xml index 98ecc839a0..f7dd1c1da2 100644 --- a/reference/mysqli/functions/mysqli-autocommit.xml +++ b/reference/mysqli/functions/mysqli-autocommit.xml @@ -1,9 +1,9 @@ - + mysqli_autocommit - Turns on and off auto-commiting database modifications + Turns on or off auto-commiting database modifications Description @@ -15,8 +15,10 @@ mysqli_autocommit is used to turn on or off auto-commit mode on queries for the database connection represented by the link - resource. The mysqli_autocommit will return a boolean indicating - success or failure of the call. + resource. + + + &return.success; diff --git a/reference/mysqli/functions/mysqli-change-user.xml b/reference/mysqli/functions/mysqli-change-user.xml index 59ff2c41c4..d7a5f9fdd2 100644 --- a/reference/mysqli/functions/mysqli-change-user.xml +++ b/reference/mysqli/functions/mysqli-change-user.xml @@ -1,5 +1,5 @@ - + mysqli_change_user @@ -18,11 +18,12 @@ mysqli_change_user is used to change the user of the specified database connection as given by the link parameter and sets the current database to that specified by the database parameter. - This function will return a boolean value indicating if the operation was successful - or not. - If desired, the NULL value may be passed in place of the database + &return.success; + + + If desired, the &null; value may be passed in place of the database parameter resulting in only changing the user and not selecting a database. To select a database in this case use the mysqli_select_db function. diff --git a/reference/mysqli/functions/mysqli-close.xml b/reference/mysqli/functions/mysqli-close.xml index 5ae189165f..8e85b2f714 100644 --- a/reference/mysqli/functions/mysqli-close.xml +++ b/reference/mysqli/functions/mysqli-close.xml @@ -1,5 +1,5 @@ - + mysqli_close @@ -15,6 +15,11 @@ The mysqli_close function closes a previously opened database connection specified by the link parameter. + + See also + mysqli_connect and + mysqli_real_connect. + diff --git a/reference/mysqli/functions/mysqli-connect.xml b/reference/mysqli/functions/mysqli-connect.xml index 1b1d8bb6ba..e1b07fe367 100644 --- a/reference/mysqli/functions/mysqli-connect.xml +++ b/reference/mysqli/functions/mysqli-connect.xml @@ -1,5 +1,5 @@ - + mysqli_connect @@ -17,16 +17,16 @@ stringsocket - The mysqli_connect attempts to open a connection to the MySQL Server running - on host which can be either a hostname or an IP address. Passing the NULL - value or the string "localhost" to this parameter, the local host is assumed. When possible, pipes - will be used instead of the TCP/IP protocol. If successful, the mysqli_connect - will return a resource representing the connection to the database, or FALSE on failure. + The mysqli_connect function attempts to open a connection to the MySQL Server + running on host which can be either a hostname or an IP address. Passing the + &null; value or the string "localhost" to this parameter, the local host is assumed. When possible, + pipes will be used instead of the TCP/IP protocol. If successful, the mysqli_connect + will return a resource representing the connection to the database, or &false; on failure. The username and password parameters specify the username and password under which to connect to the MySQL server. If the password is not provided - (the NULL value is passed), the MySQL server will attempt to authenticate the user against those + (the &null; value is passed), the MySQL server will attempt to authenticate the user against those user records which have no password only. This allows one username to be used with different permissions (depending on if a password as provided or not). @@ -48,6 +48,11 @@ MySQL database is determined by the host parameter. + + See also + mysqli_close and + mysqli_real_connect. + diff --git a/reference/mysqli/functions/mysqli-data-seek.xml b/reference/mysqli/functions/mysqli-data-seek.xml index 46a042d3a1..492348833e 100644 --- a/reference/mysqli/functions/mysqli-data-seek.xml +++ b/reference/mysqli/functions/mysqli-data-seek.xml @@ -1,5 +1,5 @@ - + mysqli_data_seek @@ -16,7 +16,7 @@ The mysqli_data_seek function seeks to an arbitrary result pointer specified by the offset in the result set represented by result. The offset parameter must be between - zero and the total number of rows minus one (0..mysqli_num_rows - 1). + zero and the total number of rows minus one (0..mysqli_num_rows - 1). @@ -24,6 +24,11 @@ mysqli_store_result function. + + See also + mysqli_store_result and + mysqli_num_rows. + diff --git a/reference/mysqli/functions/mysqli-errno.xml b/reference/mysqli/functions/mysqli-errno.xml index 53912e25d4..e666e437b8 100644 --- a/reference/mysqli/functions/mysqli-errno.xml +++ b/reference/mysqli/functions/mysqli-errno.xml @@ -1,5 +1,5 @@ - + mysqli_errno @@ -23,6 +23,10 @@ section of the MySQLi documentation + + See also + mysqli_error. + diff --git a/reference/mysqli/functions/mysqli-error.xml b/reference/mysqli/functions/mysqli-error.xml index f1e90fba89..426613fd8f 100644 --- a/reference/mysqli/functions/mysqli-error.xml +++ b/reference/mysqli/functions/mysqli-error.xml @@ -1,5 +1,5 @@ - + mysqli_error @@ -12,13 +12,17 @@ resourcelink - The mysqli_error is identical to the corresponding + The mysqli_error function is identical to the corresponding mysqli_errno function in every way, except instead of returning an integer error code the mysqli_error function will return a string representation of the last error to occur for the database connection represented by the link parameter. If no error has occured, this function will return an empty string. + + See also + mysqli_errno. + diff --git a/reference/mysqli/functions/mysqli-free-result.xml b/reference/mysqli/functions/mysqli-free-result.xml index 11c9ca1f15..468f08185c 100644 --- a/reference/mysqli/functions/mysqli-free-result.xml +++ b/reference/mysqli/functions/mysqli-free-result.xml @@ -1,9 +1,9 @@ - + mysqli_free_result - Free the memory associated with a result + Frees the memory associated with a result Description @@ -12,8 +12,9 @@ resourceresult - The mysqli_free_result frees the memory associated with - the result represented by the result parameter. + The mysqli_free_result function frees the memory + associated with the result represented by the + result parameter. diff --git a/reference/mysqli/functions/mysqli-get-client-info.xml b/reference/mysqli/functions/mysqli-get-client-info.xml index 8131b9b6fc..b84eb83d5e 100644 --- a/reference/mysqli/functions/mysqli-get-client-info.xml +++ b/reference/mysqli/functions/mysqli-get-client-info.xml @@ -1,9 +1,9 @@ - + mysqli_get_client_info - Retrun the MySQL client version as a string + Returns the MySQL client version as a string Description @@ -12,8 +12,9 @@ void - The mysqli_get_client_info is used to return a string - representing the client version being used in the MySQLi extension. + The mysqli_get_client_info function is used to + return a string representing the client version being used in the + MySQLi extension. diff --git a/reference/mysqli/functions/mysqli-get-host-info.xml b/reference/mysqli/functions/mysqli-get-host-info.xml index eb383ae007..3dc52fd8e3 100644 --- a/reference/mysqli/functions/mysqli-get-host-info.xml +++ b/reference/mysqli/functions/mysqli-get-host-info.xml @@ -1,9 +1,9 @@ - + mysqli_get_host_info - Return a string representing the type of connection used + Returns a string representing the type of connection used Description diff --git a/reference/mysqli/functions/mysqli-get-proto-info.xml b/reference/mysqli/functions/mysqli-get-proto-info.xml index 854e0f0e58..06bc5dbdce 100644 --- a/reference/mysqli/functions/mysqli-get-proto-info.xml +++ b/reference/mysqli/functions/mysqli-get-proto-info.xml @@ -1,9 +1,9 @@ - + mysqli_get_proto_info - Return the version of the MySQL protocol used + Returns the version of the MySQL protocol used Description diff --git a/reference/mysqli/functions/mysqli-get-server-info.xml b/reference/mysqli/functions/mysqli-get-server-info.xml index fdbed542ae..e96e53be71 100644 --- a/reference/mysqli/functions/mysqli-get-server-info.xml +++ b/reference/mysqli/functions/mysqli-get-server-info.xml @@ -1,9 +1,9 @@ - + mysqli_get_server_info - Return the version of the MySQL server + Returns the version of the MySQL server Description diff --git a/reference/mysqli/functions/mysqli-get-server-version.xml b/reference/mysqli/functions/mysqli-get-server-version.xml index 6762fe47d6..b7555a9480 100644 --- a/reference/mysqli/functions/mysqli-get-server-version.xml +++ b/reference/mysqli/functions/mysqli-get-server-version.xml @@ -1,9 +1,9 @@ - + mysqli_get_server_version - Return the version of the MySQL server as an integer + Returns the version of the MySQL server as an integer Description diff --git a/reference/mysqli/functions/mysqli-insert-id.xml b/reference/mysqli/functions/mysqli-insert-id.xml index abcb8706a7..03716991d0 100644 --- a/reference/mysqli/functions/mysqli-insert-id.xml +++ b/reference/mysqli/functions/mysqli-insert-id.xml @@ -1,9 +1,9 @@ - + mysqli_insert_id - Get the auto generated id used in the last query + Returns the auto generated id used in the last query Description @@ -12,11 +12,11 @@ resourcelink - The mysqli_insert_id returns the ID generated by a - query on a table with an column having the AUTO_INCREMENT attribute. If the - last query wasn't an INSERT or UPDATE statement or if the modified table - does not have a column with the AUTO_INCREMENT attribute this function - will return zero. + The mysqli_insert_id function returns the ID generated + by a query on a table with a column having the AUTO_INCREMENT attribute. If + the last query wasn't an INSERT or UPDATE statement or if the modified table + does not have a column with the AUTO_INCREMENT attribute, this function will + return zero. diff --git a/reference/mysqli/functions/mysqli-kill.xml b/reference/mysqli/functions/mysqli-kill.xml index 6ac8637481..13ef312b20 100644 --- a/reference/mysqli/functions/mysqli-kill.xml +++ b/reference/mysqli/functions/mysqli-kill.xml @@ -1,9 +1,9 @@ - + mysqli_kill - Ask the server to kill a MySQL thread + Asks the server to kill a MySQL thread Description diff --git a/reference/mysqli/functions/mysqli-real-connect.xml b/reference/mysqli/functions/mysqli-real-connect.xml index 84dc0771e7..b74196d763 100644 --- a/reference/mysqli/functions/mysqli-real-connect.xml +++ b/reference/mysqli/functions/mysqli-real-connect.xml @@ -1,5 +1,5 @@ - + mysqli_real_connect @@ -20,6 +20,11 @@ &warn.undocumented.func; + + See also + mysqli_connect and + mysqli_close. +