From 46c732103537819f301f69980bbbbc7fe571a93f Mon Sep 17 00:00:00 2001 From: Damien Seguy Date: Mon, 21 May 2001 09:37:24 +0000 Subject: [PATCH] Added last mysql_get_*_info. TODO : check version availability, add examples. git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@48028 c90b9560-bf6c-de11-be94-00142212c4b1 --- functions/mysql.xml | 102 +++++++++++++++++++++++++++++++++++++++++++- 1 file changed, 100 insertions(+), 2 deletions(-) diff --git a/functions/mysql.xml b/functions/mysql.xml index e4ad17bba7..9bffbdd28c 100644 --- a/functions/mysql.xml +++ b/functions/mysql.xml @@ -625,7 +625,7 @@ echo mysql_errno().": ".mysql_error()."<BR>"; mysql_escape_string - Escapes a string for use in a MySQL-query. + Escapes a string for use in a mysql_query. @@ -638,7 +638,7 @@ echo mysql_errno().": ".mysql_error()."<BR>"; This function will escape the unescaped_string, - so that it is safe to place it in a MySQL-query. + so that it is safe to place it in a mysql_query. @@ -1979,6 +1979,104 @@ while ($i < mysql_num_rows ($result)) { + + + mysql_get_client_info + Get MySQL client info + + + Description + + + string mysql_get_client_info + void + + + + mysql_get_client_info returns a string that represents + the client library version. + + + mysql_get_client_info was added in PHP 4.0.5. + + + + + + + mysql_get_host_info + Get MySQL host info + + + Description + + + string mysql_get_host_info + resource link_identifier + + + + mysql_get_host_info returns a string + describing the type of connection in use for the connection + link_identifier, including the server host name. + If link_identifier is omited, the last opened + connection will be used. + + + mysql_get_host_info was added in PHP 4.0.5. + + + + + + + mysql_get_proto_info + Get MySQL protocol info + + + Description + + + int mysql_get_proto_info + resource link_identifier + + + + mysql_get_proto_info returns the protocol version + used by connection link_identifier. + If link_identifier is omited, the last opened + connection will be used. + + + mysql_get_proto_info was added in PHP 4.0.5. + + + + + + + mysql_get_server_info + Get MySQL server info + + + Description + + + int mysql_get_server_info + resource link_identifier + + + + mysql_get_server_info returns the server version + used by connection link_identifier. + If link_identifier is omited, the last opened + connection will be used. + + + mysql_get_server_info was added in PHP 4.0.5. + + +