From c8b844ebea548cb61503de92aa49268096cf9307 Mon Sep 17 00:00:00 2001 From: Damien Seguy Date: Tue, 28 Sep 2004 15:33:55 +0000 Subject: [PATCH] adding extra tags git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@169455 c90b9560-bf6c-de11-be94-00142212c4b1 --- reference/mysql/functions/mysql-connect.xml | 7 ++--- reference/mysql/functions/mysql-data-seek.xml | 19 ++++++------- reference/mysql/functions/mysql-drop-db.xml | 4 +-- .../mysql/functions/mysql-fetch-array.xml | 27 ++++++++++++------- .../mysql/functions/mysql-field-flags.xml | 11 +++++--- .../mysql/functions/mysql-field-type.xml | 5 ++-- reference/mysql/ini.xml | 8 +++--- 7 files changed, 48 insertions(+), 33 deletions(-) diff --git a/reference/mysql/functions/mysql-connect.xml b/reference/mysql/functions/mysql-connect.xml index 5b6af22120..a0981a3a14 100644 --- a/reference/mysql/functions/mysql-connect.xml +++ b/reference/mysql/functions/mysql-connect.xml @@ -1,5 +1,5 @@ - + @@ -71,8 +71,9 @@ a new link, even if mysql_connect was called before with the same parameters. The client_flags parameter can be a combination of the constants - MYSQL_CLIENT_COMPRESS, MYSQL_CLIENT_IGNORE_SPACE or - MYSQL_CLIENT_INTERACTIVE. + MYSQL_CLIENT_COMPRESS, + MYSQL_CLIENT_IGNORE_SPACE or + MYSQL_CLIENT_INTERACTIVE. diff --git a/reference/mysql/functions/mysql-data-seek.xml b/reference/mysql/functions/mysql-data-seek.xml index 890afcf840..853ddb0e90 100644 --- a/reference/mysql/functions/mysql-data-seek.xml +++ b/reference/mysql/functions/mysql-data-seek.xml @@ -1,5 +1,5 @@ - + @@ -13,9 +13,6 @@ resourceresult_identifier introw_number - - &return.success; - mysql_data_seek moves the internal row pointer of the MySQL result associated with the specified result @@ -23,11 +20,15 @@ to mysql_fetch_row would return that row. - Row_number starts at 0. The - row_number should be a value in the range from 0 to - mysql_num_rows - 1. However if the result set is empty (mysql_num_rows == - 0), a seek to 0 will fail with a E_WARNING - and mysql_data_seek will return &false;. + &return.success; + + + row_number starts at 0. The + row_number should be a value in the range from 0 to + mysql_num_rows - 1. However if the result set + is empty (mysql_num_rows == 0), a seek to 0 will + fail with a E_WARNING and + mysql_data_seek will return &false;. diff --git a/reference/mysql/functions/mysql-drop-db.xml b/reference/mysql/functions/mysql-drop-db.xml index 46d5faabd2..dcc00e57cc 100644 --- a/reference/mysql/functions/mysql-drop-db.xml +++ b/reference/mysql/functions/mysql-drop-db.xml @@ -1,5 +1,5 @@ - + @@ -37,7 +37,7 @@ This function will not be available - if the MySQL extension was built against a MySQL 4.x client library + if the MySQL extension was built against a MySQL 4.x client library. diff --git a/reference/mysql/functions/mysql-fetch-array.xml b/reference/mysql/functions/mysql-fetch-array.xml index 7576d5b723..06a07df100 100644 --- a/reference/mysql/functions/mysql-fetch-array.xml +++ b/reference/mysql/functions/mysql-fetch-array.xml @@ -1,5 +1,5 @@ - + @@ -52,22 +52,27 @@ SELECT table1.field AS foo, table2.field AS bar FROM table1, table2 The optional second argument result_type in mysql_fetch_array is a constant and can - take the following values: MYSQL_ASSOC, MYSQL_NUM, and - MYSQL_BOTH. This feature was added in PHP 3.0.7. MYSQL_BOTH + take the following values: MYSQL_ASSOC, + MYSQL_NUM, and MYSQL_BOTH. + This feature was added in PHP 3.0.7. MYSQL_BOTH is the default for this argument. - By using MYSQL_BOTH, you'll get an array with both associative - and number indices. Using MYSQL_ASSOC, you only get associative + By using MYSQL_BOTH, you'll get an array + with both associative and number indices. Using + MYSQL_ASSOC, you only get associative indices (as mysql_fetch_assoc works), - using MYSQL_NUM, you only get number indices (as + using MYSQL_NUM, you only get number indices (as mysql_fetch_row works). &database.field-case; &database.fetch-null; - <function>mysql_fetch_array</function> with MYSQL_NUM + + <function>mysql_fetch_array</function> with + <constant>MYSQL_NUM</constant> + - <function>mysql_fetch_array</function> with MYSQL_ASSOC + + <function>mysql_fetch_array</function> with <constant>MYSQL_ASSOC</constant> + - <function>mysql_fetch_array</function> with MYSQL_BOTH + + <function>mysql_fetch_array</function> with <constant>MYSQL_BOTH</constant> + - + @@ -22,9 +22,12 @@ returned value using explode. The following flags are reported, if your version of MySQL - is current enough to support them: "not_null", "primary_key", - "unique_key", "multiple_key", "blob", "unsigned", "zerofill", - "binary", "enum", "auto_increment", "timestamp". + is current enough to support them: "not_null", + "primary_key", "unique_key", + "multiple_key", "blob", + "unsigned", "zerofill", + "binary", "enum", + "auto_increment" et "timestamp". diff --git a/reference/mysql/functions/mysql-field-type.xml b/reference/mysql/functions/mysql-field-type.xml index d83d60feda..509f50acb7 100644 --- a/reference/mysql/functions/mysql-field-type.xml +++ b/reference/mysql/functions/mysql-field-type.xml @@ -1,5 +1,5 @@ - + @@ -19,7 +19,8 @@ mysql_field_type is similar to the mysql_field_name function. The arguments are identical, but the field type is returned instead. The field type - will be one of "int", "real", "string", "blob", and others as + will be one of "int", "real", + "string", "blob", and others as detailed in the MySQL documentation. diff --git a/reference/mysql/ini.xml b/reference/mysql/ini.xml index 5395cd3e7c..0ffb98159a 100644 --- a/reference/mysql/ini.xml +++ b/reference/mysql/ini.xml @@ -1,5 +1,5 @@ - +
&reftitle.runtime; &extension.runtime; @@ -170,7 +170,7 @@ The default server host to use when connecting to the database server if no other host is specified. Doesn't apply in - safe mode. + &safemode;. @@ -184,7 +184,7 @@ The default user name to use when connecting to the database server if no other name is specified. Doesn't apply in - safe mode. + &safemode;. @@ -198,7 +198,7 @@ The default password to use when connecting to the database server if no other password is specified. Doesn't apply in - safe mode. + &safemode;.