From 0dbc7d65b858c8352b2a3c445d4ba2eb9bc83f34 Mon Sep 17 00:00:00 2001 From: Mehdi Achour Date: Sun, 28 Jan 2007 05:22:02 +0000 Subject: [PATCH] Fix whitespaces git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@228279 c90b9560-bf6c-de11-be94-00142212c4b1 --- reference/mysql/functions/mysql-create-db.xml | 4 +- reference/mysql/functions/mysql-data-seek.xml | 3 +- reference/mysql/functions/mysql-db-name.xml | 3 +- reference/mysql/functions/mysql-query.xml | 218 +++++++++--------- reference/mysql/functions/mysql-stat.xml | 9 +- 5 files changed, 123 insertions(+), 114 deletions(-) diff --git a/reference/mysql/functions/mysql-create-db.xml b/reference/mysql/functions/mysql-create-db.xml index 55c62ebb5c..591f369b4e 100644 --- a/reference/mysql/functions/mysql-create-db.xml +++ b/reference/mysql/functions/mysql-create-db.xml @@ -1,10 +1,11 @@ - + mysql_create_db Create a MySQL database + &reftitle.description; @@ -18,6 +19,7 @@ identifier. + &reftitle.parameters; diff --git a/reference/mysql/functions/mysql-data-seek.xml b/reference/mysql/functions/mysql-data-seek.xml index c94c33abc6..e93b2fca4e 100644 --- a/reference/mysql/functions/mysql-data-seek.xml +++ b/reference/mysql/functions/mysql-data-seek.xml @@ -1,10 +1,11 @@ - + mysql_data_seek Move internal result pointer + &reftitle.description; diff --git a/reference/mysql/functions/mysql-db-name.xml b/reference/mysql/functions/mysql-db-name.xml index ba0045b4f7..07ea7a8dd3 100644 --- a/reference/mysql/functions/mysql-db-name.xml +++ b/reference/mysql/functions/mysql-db-name.xml @@ -1,10 +1,11 @@ - + mysql_db_name Get result data + &reftitle.description; diff --git a/reference/mysql/functions/mysql-query.xml b/reference/mysql/functions/mysql-query.xml index a5a7df7b99..64863ca2f2 100644 --- a/reference/mysql/functions/mysql-query.xml +++ b/reference/mysql/functions/mysql-query.xml @@ -1,89 +1,88 @@ - - - - - mysql_query - Send a MySQL query - + + + + mysql_query + Send a MySQL query + - - &reftitle.description; - - resourcemysql_query - stringquery - resourcelink_identifier - - - mysql_query sends an unique query (multiple queries - are not supported) to the currently - active database on the server that's associated with the - specified link_identifier. - - + + &reftitle.description; + + resourcemysql_query + stringquery + resourcelink_identifier + + + mysql_query sends an unique query (multiple queries + are not supported) to the currently + active database on the server that's associated with the + specified link_identifier. + + - - &reftitle.parameters; - - - - query - - - A SQL query - - - The query string should not end with a semicolon. - - - - &mysql.linkid.description; - - - - - - &reftitle.returnvalues; - - For SELECT, SHOW, DESCRIBE or EXPLAIN statements, - mysql_query - returns a resource on success, or &false; on - error. - - - For other type of SQL statements, UPDATE, DELETE, DROP, etc, - mysql_query returns &true; on success - or &false; on error. - - - The returned result resource should be passed to - mysql_fetch_array, and other - functions for dealing with result tables, to access the returned data. - - - Use mysql_num_rows to find out how many rows - were returned for a SELECT statement or - mysql_affected_rows to find out how many - rows were affected by a DELETE, INSERT, REPLACE, or UPDATE - statement. - - - mysql_query will also fail and return &false; - if the user does not have permission to access the table(s) referenced by - the query. - - - - - &reftitle.examples; - - - Invalid Query + + &reftitle.parameters; + + + + query + - The following query is syntactically invalid, so - mysql_query fails and returns &false;. + A SQL query - + + The query string should not end with a semicolon. + + + + &mysql.linkid.description; + + + + + + &reftitle.returnvalues; + + For SELECT, SHOW, DESCRIBE or EXPLAIN statements, + mysql_query + returns a resource on success, or &false; on + error. + + + For other type of SQL statements, UPDATE, DELETE, DROP, etc, + mysql_query returns &true; on success + or &false; on error. + + + The returned result resource should be passed to + mysql_fetch_array, and other + functions for dealing with result tables, to access the returned data. + + + Use mysql_num_rows to find out how many rows + were returned for a SELECT statement or + mysql_affected_rows to find out how many + rows were affected by a DELETE, INSERT, REPLACE, or UPDATE + statement. + + + mysql_query will also fail and return &false; + if the user does not have permission to access the table(s) referenced by + the query. + + + + + &reftitle.examples; + + + Invalid Query + + The following query is syntactically invalid, so + mysql_query fails and returns &false;. + + ]]> - - - + + + + + + Valid Query - - Valid Query - - The following query is valid, so mysql_query - returns a resource. - - + The following query is valid, so mysql_query + returns a resource. + + ]]> - - - - + + + + - - &reftitle.seealso; - - - mysql_connect - mysql_error - mysql_real_escape_string - mysql_result - mysql_fetch_assoc - mysql_unbuffered_query - - - - + + &reftitle.seealso; + + + mysql_connect + mysql_error + mysql_real_escape_string + mysql_result + mysql_fetch_assoc + mysql_unbuffered_query + + + + + - + mysql_stat Get current system status + &reftitle.description; @@ -16,6 +16,7 @@ mysql_stat returns the current server status. + &reftitle.parameters; @@ -24,6 +25,7 @@ + &reftitle.returnvalues; @@ -33,6 +35,7 @@ If link_identifier is invalid, &null; is returned. + &reftitle.examples; @@ -97,6 +100,7 @@ bdb_tmpdir = /var/tmp/ + &reftitle.seealso; @@ -106,6 +110,7 @@ bdb_tmpdir = /var/tmp/ +