From b938afd8526db3bd2dd33bfa718d099fa1f240fe Mon Sep 17 00:00:00 2001 From: Mehdi Achour Date: Wed, 9 Jul 2003 15:07:29 +0000 Subject: [PATCH] fixed structures and added example for mysql_result() git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@134529 c90b9560-bf6c-de11-be94-00142212c4b1 --- .../mysql/functions/mysql-affected-rows.xml | 18 +++++----- .../mysql/functions/mysql-client-encoding.xml | 12 ++++--- reference/mysql/functions/mysql-close.xml | 16 +++++---- reference/mysql/functions/mysql-connect.xml | 17 ++++++---- reference/mysql/functions/mysql-create-db.xml | 19 ++++++----- reference/mysql/functions/mysql-data-seek.xml | 19 ++++++----- reference/mysql/functions/mysql-db-name.xml | 14 ++++---- reference/mysql/functions/mysql-drop-db.xml | 5 +-- reference/mysql/functions/mysql-errno.xml | 4 +-- reference/mysql/functions/mysql-error.xml | 4 +-- .../mysql/functions/mysql-escape-string.xml | 24 +++++++------ .../mysql/functions/mysql-fetch-array.xml | 34 ++++++++++--------- .../mysql/functions/mysql-fetch-assoc.xml | 16 +++++---- .../mysql/functions/mysql-fetch-field.xml | 14 ++++---- .../mysql/functions/mysql-fetch-lengths.xml | 4 +-- .../mysql/functions/mysql-fetch-object.xml | 6 ++-- reference/mysql/functions/mysql-fetch-row.xml | 8 +++-- .../mysql/functions/mysql-field-name.xml | 8 ++--- .../mysql/functions/mysql-field-seek.xml | 4 +-- .../mysql/functions/mysql-field-type.xml | 4 +-- .../mysql/functions/mysql-get-client-info.xml | 31 +++++++++-------- .../mysql/functions/mysql-get-host-info.xml | 31 +++++++++-------- .../mysql/functions/mysql-get-proto-info.xml | 31 +++++++++-------- .../mysql/functions/mysql-get-server-info.xml | 31 +++++++++-------- reference/mysql/functions/mysql-info.xml | 4 +-- reference/mysql/functions/mysql-insert-id.xml | 16 +++++---- reference/mysql/functions/mysql-list-dbs.xml | 8 ++--- .../mysql/functions/mysql-list-fields.xml | 8 ++--- .../mysql/functions/mysql-list-processes.xml | 12 +++---- .../mysql/functions/mysql-list-tables.xml | 19 ++++++----- .../mysql/functions/mysql-num-fields.xml | 7 ++-- reference/mysql/functions/mysql-num-rows.xml | 4 +-- reference/mysql/functions/mysql-ping.xml | 6 ++-- reference/mysql/functions/mysql-query.xml | 9 ++--- .../functions/mysql-real-escape-string.xml | 14 ++++---- reference/mysql/functions/mysql-result.xml | 27 +++++++++++++-- reference/mysql/functions/mysql-select-db.xml | 7 ++-- reference/mysql/functions/mysql-stat.xml | 8 ++--- reference/mysql/functions/mysql-tablename.xml | 7 ++-- reference/mysql/functions/mysql-thread-id.xml | 14 ++++---- .../functions/mysql-unbuffered-query.xml | 4 +-- 41 files changed, 311 insertions(+), 237 deletions(-) diff --git a/reference/mysql/functions/mysql-affected-rows.xml b/reference/mysql/functions/mysql-affected-rows.xml index 1f8e510e86..e672aabf00 100644 --- a/reference/mysql/functions/mysql-affected-rows.xml +++ b/reference/mysql/functions/mysql-affected-rows.xml @@ -1,5 +1,5 @@ - + @@ -73,13 +73,13 @@ The above example would produce the following output: - + + - - + Update-Query @@ -100,17 +100,17 @@ mysql_query("COMMIT"); The above example would produce the following output: - + + - - + - See also: mysql_num_rows, - mysql_info. + See also mysql_num_rows, + mysql_info. diff --git a/reference/mysql/functions/mysql-client-encoding.xml b/reference/mysql/functions/mysql-client-encoding.xml index 7fef0f016c..3255b7ebd8 100644 --- a/reference/mysql/functions/mysql-client-encoding.xml +++ b/reference/mysql/functions/mysql-client-encoding.xml @@ -1,5 +1,5 @@ - + @@ -16,6 +16,7 @@ mysql_client_encoding returns the default character set name for the current connection. + <function>mysql_client_encoding</function> example @@ -29,15 +30,16 @@ printf ("current character set is %s\n", $charset); The above example would produce the following output: - + + - - + + - See also: + See also mysql_real_escape_string diff --git a/reference/mysql/functions/mysql-close.xml b/reference/mysql/functions/mysql-close.xml index 7d7ae4ed00..5373df9662 100644 --- a/reference/mysql/functions/mysql-close.xml +++ b/reference/mysql/functions/mysql-close.xml @@ -1,5 +1,5 @@ - + @@ -35,9 +35,10 @@ created by mysql_pconnect. - - MySQL close example - + + + MySQL close example + ]]> - - + + + - See also: mysql_connect, and + See also mysql_connect and mysql_pconnect. diff --git a/reference/mysql/functions/mysql-connect.xml b/reference/mysql/functions/mysql-connect.xml index aa1d499d63..22282f2684 100644 --- a/reference/mysql/functions/mysql-connect.xml +++ b/reference/mysql/functions/mysql-connect.xml @@ -1,5 +1,5 @@ - + @@ -93,9 +93,10 @@ the script ends, unless it's closed earlier by explicitly calling mysql_close. - - MySQL connect example - + + + <function>mysql_connect</function> example + ]]> - - - See also + + + + + See also mysql_pconnect and mysql_close. diff --git a/reference/mysql/functions/mysql-create-db.xml b/reference/mysql/functions/mysql-create-db.xml index e6e8b3be6e..62559fdaa6 100644 --- a/reference/mysql/functions/mysql-create-db.xml +++ b/reference/mysql/functions/mysql-create-db.xml @@ -1,5 +1,5 @@ - + @@ -23,9 +23,10 @@ &return.success; - - MySQL create database example - + + + MySQL create database example + ]]> - - + + + For downwards compatibility mysql_createdb can also be used. This is deprecated, however. @@ -58,8 +60,9 @@ - See also: mysql_drop_db, - mysql_query. + See also + mysql_drop_db and + mysql_query. diff --git a/reference/mysql/functions/mysql-data-seek.xml b/reference/mysql/functions/mysql-data-seek.xml index 53fbee450c..55bb72e610 100644 --- a/reference/mysql/functions/mysql-data-seek.xml +++ b/reference/mysql/functions/mysql-data-seek.xml @@ -1,5 +1,5 @@ - + @@ -34,9 +34,10 @@ mysql_unbuffered_query. - - MySQL data seek example - + + + <function>mysql_data_seek</function> example + ]]> - - + + + - See also: mysql_query, - mysql_num_rows. + See also + mysql_query and + mysql_num_rows. diff --git a/reference/mysql/functions/mysql-db-name.xml b/reference/mysql/functions/mysql-db-name.xml index 996b4ec582..49d659c602 100644 --- a/reference/mysql/functions/mysql-db-name.xml +++ b/reference/mysql/functions/mysql-db-name.xml @@ -1,5 +1,5 @@ - + @@ -29,9 +29,10 @@ mysql_error to determine the nature of the error. - - <function>mysql_db_name</function> example - + + + <function>mysql_db_name</function> example + ]]> - - + + + For backward compatibility, mysql_dbname is also accepted. This is deprecated, however. diff --git a/reference/mysql/functions/mysql-drop-db.xml b/reference/mysql/functions/mysql-drop-db.xml index 9b690c5091..b2d5ce4188 100644 --- a/reference/mysql/functions/mysql-drop-db.xml +++ b/reference/mysql/functions/mysql-drop-db.xml @@ -1,5 +1,5 @@ - + @@ -41,7 +41,8 @@ - See also mysql_create_db, and + See also + mysql_create_db and mysql_query. diff --git a/reference/mysql/functions/mysql-errno.xml b/reference/mysql/functions/mysql-errno.xml index aed6075d5c..46bab9b050 100644 --- a/reference/mysql/functions/mysql-errno.xml +++ b/reference/mysql/functions/mysql-errno.xml @@ -1,5 +1,5 @@ - + @@ -65,7 +65,7 @@ - See also: mysql_error + See also mysql_error. diff --git a/reference/mysql/functions/mysql-error.xml b/reference/mysql/functions/mysql-error.xml index dcbc685501..1de2420f97 100644 --- a/reference/mysql/functions/mysql-error.xml +++ b/reference/mysql/functions/mysql-error.xml @@ -1,5 +1,5 @@ - + @@ -64,7 +64,7 @@ - See also: mysql_errno + See also mysql_errno. diff --git a/reference/mysql/functions/mysql-escape-string.xml b/reference/mysql/functions/mysql-escape-string.xml index c4b6feacd1..bd05f275d5 100644 --- a/reference/mysql/functions/mysql-escape-string.xml +++ b/reference/mysql/functions/mysql-escape-string.xml @@ -1,5 +1,5 @@ - + @@ -31,9 +31,10 @@ connection argument and does not respect the current charset setting. - - <function>mysql_escape_string</function> example - + + + <function>mysql_escape_string</function> example + ]]> - - - The above example would produce the following output: + + + The above example would produce the following output: + - - + + - See also: + See also mysql_real_escape_string, - addslashes, and the + addslashes and the magic_quotes_gpc directive. diff --git a/reference/mysql/functions/mysql-fetch-array.xml b/reference/mysql/functions/mysql-fetch-array.xml index 700b40f78e..bca0f79b7d 100644 --- a/reference/mysql/functions/mysql-fetch-array.xml +++ b/reference/mysql/functions/mysql-fetch-array.xml @@ -1,5 +1,5 @@ - + @@ -64,9 +64,10 @@ select table1.field as foo, table2.field as bar from table1, table2 mysql_fetch_row works). &database.field-case; - - mysql_fetch_array with MYSQL_NUM - + + + <function>mysql_fetch_array</function> with MYSQL_NUM + ]]> - - - - mysql_fetch_array with MYSQL_ASSOC - + + + + <function>mysql_fetch_array</function> with MYSQL_ASSOC + ]]> - - - - mysql_fetch_array with MYSQL_BOTH - + + + + <function>mysql_fetch_array</function> with MYSQL_BOTH + ]]> - - + + + See also mysql_fetch_row and diff --git a/reference/mysql/functions/mysql-fetch-assoc.xml b/reference/mysql/functions/mysql-fetch-assoc.xml index b62e17353a..637227440f 100644 --- a/reference/mysql/functions/mysql-fetch-assoc.xml +++ b/reference/mysql/functions/mysql-fetch-assoc.xml @@ -1,5 +1,5 @@ - + @@ -42,9 +42,10 @@ provides a significant added value. &database.field-case; - - An expanded <function>mysql_fetch_assoc</function> example - + + + An expanded <function>mysql_fetch_assoc</function> example + ]]> - - + + + See also mysql_fetch_row, mysql_fetch_array, - mysql_query, and + mysql_query and mysql_error. diff --git a/reference/mysql/functions/mysql-fetch-field.xml b/reference/mysql/functions/mysql-fetch-field.xml index cdd55063dc..96319f4d65 100644 --- a/reference/mysql/functions/mysql-fetch-field.xml +++ b/reference/mysql/functions/mysql-fetch-field.xml @@ -1,5 +1,5 @@ - + @@ -92,9 +92,10 @@ &database.field-case; - - <function>mysql_fetch_field</function> - + + + <function>mysql_fetch_field</function> example + zerofill mysql_free_result($result); ?> ]]> - - + + + See also mysql_field_seek. diff --git a/reference/mysql/functions/mysql-fetch-lengths.xml b/reference/mysql/functions/mysql-fetch-lengths.xml index 562a3bf1c5..225c950262 100644 --- a/reference/mysql/functions/mysql-fetch-lengths.xml +++ b/reference/mysql/functions/mysql-fetch-lengths.xml @@ -1,5 +1,5 @@ - + @@ -28,7 +28,7 @@ offset 0. - See also: mysql_fetch_row. + See also mysql_fetch_row. diff --git a/reference/mysql/functions/mysql-fetch-object.xml b/reference/mysql/functions/mysql-fetch-object.xml index 74e6b62651..329b667e31 100644 --- a/reference/mysql/functions/mysql-fetch-object.xml +++ b/reference/mysql/functions/mysql-fetch-object.xml @@ -1,5 +1,5 @@ - + @@ -62,7 +62,9 @@ mysql_free_result($result); - See also: mysql_fetch_array and + See also + mysql_fetch_array, + mysql_fetch_assoc and mysql_fetch_row. diff --git a/reference/mysql/functions/mysql-fetch-row.xml b/reference/mysql/functions/mysql-fetch-row.xml index 9ab6111105..0828814222 100644 --- a/reference/mysql/functions/mysql-fetch-row.xml +++ b/reference/mysql/functions/mysql-fetch-row.xml @@ -1,5 +1,5 @@ - + @@ -29,10 +29,12 @@ &database.field-case; - See also: mysql_fetch_array, + See also + mysql_fetch_array, + mysql_fetch_assoc, mysql_fetch_object, mysql_data_seek, - mysql_fetch_lengths, and + mysql_fetch_lengths and mysql_result. diff --git a/reference/mysql/functions/mysql-field-name.xml b/reference/mysql/functions/mysql-field-name.xml index 19222509cf..4d79c2b5d7 100644 --- a/reference/mysql/functions/mysql-field-name.xml +++ b/reference/mysql/functions/mysql-field-name.xml @@ -1,5 +1,5 @@ - + @@ -53,13 +53,13 @@ echo mysql_field_name($res, 2); The above example would produce the following output: - + + - - + diff --git a/reference/mysql/functions/mysql-field-seek.xml b/reference/mysql/functions/mysql-field-seek.xml index e48ab16e04..5ac7d8dd55 100644 --- a/reference/mysql/functions/mysql-field-seek.xml +++ b/reference/mysql/functions/mysql-field-seek.xml @@ -1,5 +1,5 @@ - + @@ -22,7 +22,7 @@ mysql_field_seek will be returned. - See also: mysql_fetch_field. + See also mysql_fetch_field. diff --git a/reference/mysql/functions/mysql-field-type.xml b/reference/mysql/functions/mysql-field-type.xml index bfaffe4017..82920afae9 100644 --- a/reference/mysql/functions/mysql-field-type.xml +++ b/reference/mysql/functions/mysql-field-type.xml @@ -1,5 +1,5 @@ - + @@ -23,7 +23,7 @@ detailed in the MySQL documentation. - MySQL field types + <function>mysql_field_type</function> example - + @@ -16,28 +16,31 @@ mysql_get_client_info returns a string that represents the client library version. - - mysql_get_client_info Example - + + + <function>mysql_get_client_info</function> example + ]]> - - - The above example would produce the following output: - - + + + The above example would produce the following output: + + - - + + + - See also: mysql_get_host_info, - mysql_get_proto_info and - mysql_get_server_info. + See also + mysql_get_host_info, + mysql_get_proto_info and + mysql_get_server_info. diff --git a/reference/mysql/functions/mysql-get-host-info.xml b/reference/mysql/functions/mysql-get-host-info.xml index ade0304ef2..0b0de5cb99 100644 --- a/reference/mysql/functions/mysql-get-host-info.xml +++ b/reference/mysql/functions/mysql-get-host-info.xml @@ -1,5 +1,5 @@ - + @@ -19,9 +19,10 @@ name. If link_identifier is omitted, the last opened connection will be used. - - mysql_get_host_info Example - + + + <function>mysql_get_host_info</function> example + ]]> - - - The above example would produce the following output: - - + + + The above example would produce the following output: + + - - + + + - See also: mysql_get_client_info, - mysql_get_proto_info and - mysql_get_server_info. + See also + mysql_get_client_info, + mysql_get_proto_info and + mysql_get_server_info. diff --git a/reference/mysql/functions/mysql-get-proto-info.xml b/reference/mysql/functions/mysql-get-proto-info.xml index 091a52ff8d..f0fcbf656e 100644 --- a/reference/mysql/functions/mysql-get-proto-info.xml +++ b/reference/mysql/functions/mysql-get-proto-info.xml @@ -1,5 +1,5 @@ - + @@ -19,9 +19,10 @@ link_identifier is omitted, the last opened connection will be used. - - mysql_get_proto_info Example - + + + <function>mysql_get_proto_info</function> example + ]]> - - - The above example would produce the following output: - - + + + The above example would produce the following output: + + - - + + + - See also: mysql_get_client_info, - mysql_get_host_info and - mysql_get_server_info. + See also + mysql_get_client_info, + mysql_get_host_info and + mysql_get_server_info. diff --git a/reference/mysql/functions/mysql-get-server-info.xml b/reference/mysql/functions/mysql-get-server-info.xml index 5b6ed19427..6a222447f3 100644 --- a/reference/mysql/functions/mysql-get-server-info.xml +++ b/reference/mysql/functions/mysql-get-server-info.xml @@ -1,5 +1,5 @@ - + @@ -19,9 +19,10 @@ link_identifier is omitted, the last opened connection will be used. - - mysql_get_server_info Example - + + + <function>mysql_get_server_info</function> example + ]]> - - - The above example would produce the following output: - - + + + The above example would produce the following output: + + - - + + + - See also: mysql_get_client_info, - mysql_get_host_info and - mysql_get_proto_info. + See also + mysql_get_client_info, + mysql_get_host_info and + mysql_get_proto_info. diff --git a/reference/mysql/functions/mysql-info.xml b/reference/mysql/functions/mysql-info.xml index a88a12ef60..dee0d01bc2 100644 --- a/reference/mysql/functions/mysql-info.xml +++ b/reference/mysql/functions/mysql-info.xml @@ -1,5 +1,5 @@ - + @@ -54,7 +54,7 @@ String format: Rows matched: 65 Changed: 65 Warnings: 0 - See also: mysql_affected_rows + See also mysql_affected_rows. diff --git a/reference/mysql/functions/mysql-insert-id.xml b/reference/mysql/functions/mysql-insert-id.xml index c846b7201c..59a0c95558 100644 --- a/reference/mysql/functions/mysql-insert-id.xml +++ b/reference/mysql/functions/mysql-insert-id.xml @@ -1,5 +1,5 @@ - + @@ -50,9 +50,10 @@ LAST_INSERT_ID() in an SQL query. - - mysql_insert_id Example - + + + <function>mysql_insert_id</function> example + ]]> - - + + + - See also: mysql_query. + See also mysql_query. diff --git a/reference/mysql/functions/mysql-list-dbs.xml b/reference/mysql/functions/mysql-list-dbs.xml index d29e5a0f0e..b8fa48098f 100644 --- a/reference/mysql/functions/mysql-list-dbs.xml +++ b/reference/mysql/functions/mysql-list-dbs.xml @@ -1,5 +1,5 @@ - + @@ -40,15 +40,15 @@ while ($row = mysql_fetch_object($db_list)) { The above example would produce the following output: - + + - - + diff --git a/reference/mysql/functions/mysql-list-fields.xml b/reference/mysql/functions/mysql-list-fields.xml index cfa44b5f7e..9eb723b11a 100644 --- a/reference/mysql/functions/mysql-list-fields.xml +++ b/reference/mysql/functions/mysql-list-fields.xml @@ -1,5 +1,5 @@ - + @@ -43,15 +43,15 @@ for ($i = 0; $i < $columns; $i++) { The above example would produce the following output: - + + - - + diff --git a/reference/mysql/functions/mysql-list-processes.xml b/reference/mysql/functions/mysql-list-processes.xml index e67e6c8750..4df78066d2 100644 --- a/reference/mysql/functions/mysql-list-processes.xml +++ b/reference/mysql/functions/mysql-list-processes.xml @@ -1,5 +1,5 @@ - + @@ -37,18 +37,18 @@ mysql_free_result ($result); The above example would produce the following output: - + + - - + - See also: - mysql_thread_id + See also + mysql_thread_id. diff --git a/reference/mysql/functions/mysql-list-tables.xml b/reference/mysql/functions/mysql-list-tables.xml index 5c4098115c..1af4183d1e 100644 --- a/reference/mysql/functions/mysql-list-tables.xml +++ b/reference/mysql/functions/mysql-list-tables.xml @@ -1,5 +1,5 @@ - + @@ -41,9 +41,10 @@ - - <function>mysql_list_tables</function> example - + + + <function>mysql_list_tables</function> example + ]]> - - + + + - See also: mysql_list_dbs, - and mysql_tablename. + See also + mysql_list_dbs and + mysql_tablename. diff --git a/reference/mysql/functions/mysql-num-fields.xml b/reference/mysql/functions/mysql-num-fields.xml index 9a7848c2f8..0937ee6cbc 100644 --- a/reference/mysql/functions/mysql-num-fields.xml +++ b/reference/mysql/functions/mysql-num-fields.xml @@ -1,5 +1,5 @@ - + @@ -20,8 +20,9 @@ See also mysql_select_db, mysql_query, - mysql_fetch_field, and - mysql_num_rows. + mysql_fetch_field and + mysql_num_rows. + For downward compatibility mysql_numfields can also be used. This is deprecated however. diff --git a/reference/mysql/functions/mysql-num-rows.xml b/reference/mysql/functions/mysql-num-rows.xml index ae54415d62..a33f91bc1d 100644 --- a/reference/mysql/functions/mysql-num-rows.xml +++ b/reference/mysql/functions/mysql-num-rows.xml @@ -1,5 +1,5 @@ - + @@ -49,7 +49,7 @@ echo "$num_rows Rows\n"; mysql_affected_rows, mysql_connect, mysql_data_seek, - mysql_select_db, and + mysql_select_db and mysql_query. diff --git a/reference/mysql/functions/mysql-ping.xml b/reference/mysql/functions/mysql-ping.xml index c59bb419ec..2479682aab 100644 --- a/reference/mysql/functions/mysql-ping.xml +++ b/reference/mysql/functions/mysql-ping.xml @@ -1,5 +1,5 @@ - + @@ -24,8 +24,8 @@ server is working, otherwise &false;. - See also: - mysql_thread_id, + See also + mysql_thread_id and mysql_list_processes. diff --git a/reference/mysql/functions/mysql-query.xml b/reference/mysql/functions/mysql-query.xml index 5d9206bf92..099dd182bd 100644 --- a/reference/mysql/functions/mysql-query.xml +++ b/reference/mysql/functions/mysql-query.xml @@ -1,5 +1,5 @@ - + @@ -43,7 +43,7 @@ The following query is syntactically invalid, so mysql_query fails and returns &false;: - <function>mysql_query</function> + <function>mysql_query</function> example - See also: mysql_num_rows, + See also + mysql_num_rows, mysql_affected_rows, mysql_unbuffered_query, mysql_free_result, @@ -104,7 +105,7 @@ $result = mysql_query("SELECT my_col FROM my_tbl") mysql_fetch_row, mysql_fetch_assoc, mysql_result, - mysql_select_db, and + mysql_select_db and mysql_connect. diff --git a/reference/mysql/functions/mysql-real-escape-string.xml b/reference/mysql/functions/mysql-real-escape-string.xml index 956361f106..600c2124dc 100644 --- a/reference/mysql/functions/mysql-real-escape-string.xml +++ b/reference/mysql/functions/mysql-real-escape-string.xml @@ -1,5 +1,5 @@ - + @@ -27,6 +27,7 @@ % and _. + <function>mysql_real_escape_string</function> example @@ -40,16 +41,17 @@ printf ("Escaped string: %s\n", $escaped_item); The above example would produce the following output: - + + - - + + - See also: - mysql_escape_string, + See also + mysql_escape_string and mysql_character_set_name. diff --git a/reference/mysql/functions/mysql-result.xml b/reference/mysql/functions/mysql-result.xml index 26386de7d1..d6fcf2a7a2 100644 --- a/reference/mysql/functions/mysql-result.xml +++ b/reference/mysql/functions/mysql-result.xml @@ -1,5 +1,5 @@ - + @@ -38,9 +38,30 @@ with calls to other functions that deal with the result set. - Recommended high-performance alternatives: + + <function>mysql_result</function> example + + +]]> + + + + + Recommended high-performance alternatives : mysql_fetch_row, - mysql_fetch_array, and + mysql_fetch_array, + mysql_fetch_assoc and mysql_fetch_object. diff --git a/reference/mysql/functions/mysql-select-db.xml b/reference/mysql/functions/mysql-select-db.xml index 732de3184d..a0f6af56da 100644 --- a/reference/mysql/functions/mysql-select-db.xml +++ b/reference/mysql/functions/mysql-select-db.xml @@ -1,5 +1,5 @@ - + @@ -30,9 +30,10 @@ Every subsequent call to mysql_query will be made on the active database. - See also: + + See also mysql_connect, - mysql_pconnect, and + mysql_pconnect and mysql_query. diff --git a/reference/mysql/functions/mysql-stat.xml b/reference/mysql/functions/mysql-stat.xml index 08963a82b8..fb0bde64a3 100644 --- a/reference/mysql/functions/mysql-stat.xml +++ b/reference/mysql/functions/mysql-stat.xml @@ -1,5 +1,5 @@ - + @@ -37,7 +37,8 @@ print_r($status); The above example would produce the following output: - + + Queries per second avg: 245.595 ) ]]> - - + diff --git a/reference/mysql/functions/mysql-tablename.xml b/reference/mysql/functions/mysql-tablename.xml index ef0286e71c..92569912f2 100644 --- a/reference/mysql/functions/mysql-tablename.xml +++ b/reference/mysql/functions/mysql-tablename.xml @@ -1,5 +1,5 @@ - + @@ -23,7 +23,7 @@ traverse this result pointer, or any function for result tables, such as mysql_fetch_array. - <function>mysql_tablename</function> Example + <function>mysql_tablename</function> example - See also: mysql_list_tables. + See also + mysql_list_tables. diff --git a/reference/mysql/functions/mysql-thread-id.xml b/reference/mysql/functions/mysql-thread-id.xml index 56f163b314..5b3ff26c58 100644 --- a/reference/mysql/functions/mysql-thread-id.xml +++ b/reference/mysql/functions/mysql-thread-id.xml @@ -1,5 +1,5 @@ - + @@ -19,6 +19,7 @@ you should not get the thread ID and store it for later. You should get it when you need it. + <function>mysql_thread_id</function> example @@ -34,16 +35,17 @@ if ($thread_id){ The above example would produce the following output: - + + - - + + - See also: - mysql_ping, + See also + mysql_ping and mysql_list_processes. diff --git a/reference/mysql/functions/mysql-unbuffered-query.xml b/reference/mysql/functions/mysql-unbuffered-query.xml index f10695fcf1..66bfe03363 100644 --- a/reference/mysql/functions/mysql-unbuffered-query.xml +++ b/reference/mysql/functions/mysql-unbuffered-query.xml @@ -1,5 +1,5 @@ - + @@ -40,7 +40,7 @@ - See also: mysql_query. + See also mysql_query.