diff --git a/reference/mysql/functions/mysql-fetch-array.xml b/reference/mysql/functions/mysql-fetch-array.xml index 6a55fa83da..2e4671d873 100644 --- a/reference/mysql/functions/mysql-fetch-array.xml +++ b/reference/mysql/functions/mysql-fetch-array.xml @@ -6,6 +6,16 @@ Fetch a result row as an associative array, a numeric array, or both + + + &mysql.alternative.note; + + mysqli_fetch_array + PDOStatement::fetch + + + + &reftitle.description; diff --git a/reference/mysql/functions/mysql-fetch-assoc.xml b/reference/mysql/functions/mysql-fetch-assoc.xml index e5ae187bd3..af0ea391a8 100644 --- a/reference/mysql/functions/mysql-fetch-assoc.xml +++ b/reference/mysql/functions/mysql-fetch-assoc.xml @@ -6,6 +6,16 @@ Fetch a result row as an associative array + + + &mysql.alternative.note; + + mysqli_fetch_assoc + PDOStatement::fetch(PDO::FETCH_ASSOC) + + + + &reftitle.description; diff --git a/reference/mysql/functions/mysql-fetch-field.xml b/reference/mysql/functions/mysql-fetch-field.xml index 12b03e1fb3..643d24ce99 100644 --- a/reference/mysql/functions/mysql-fetch-field.xml +++ b/reference/mysql/functions/mysql-fetch-field.xml @@ -6,6 +6,16 @@ Get column information from a result and return as an object + + + &mysql.alternative.note; + + mysqli_fetch_field + PDOStatement::getColumnMeta + + + + &reftitle.description; diff --git a/reference/mysql/functions/mysql-fetch-lengths.xml b/reference/mysql/functions/mysql-fetch-lengths.xml index 255bae6438..91361de6f0 100644 --- a/reference/mysql/functions/mysql-fetch-lengths.xml +++ b/reference/mysql/functions/mysql-fetch-lengths.xml @@ -6,6 +6,16 @@ Get the length of each output in a result + + + &mysql.alternative.note; + + mysqli_fetch_lengths + PDOStatement::getColumnMeta + + + + &reftitle.description; diff --git a/reference/mysql/functions/mysql-fetch-object.xml b/reference/mysql/functions/mysql-fetch-object.xml index 2cd76d3bb2..cb198cc0e4 100644 --- a/reference/mysql/functions/mysql-fetch-object.xml +++ b/reference/mysql/functions/mysql-fetch-object.xml @@ -6,6 +6,16 @@ Fetch a result row as an object + + + &mysql.alternative.note; + + mysqli_fetch_object + PDOStatement::fetch(PDO::FETCH_OBJ) + + + + &reftitle.description; diff --git a/reference/mysql/functions/mysql-fetch-row.xml b/reference/mysql/functions/mysql-fetch-row.xml index 5540cb36e5..64ddcf2230 100644 --- a/reference/mysql/functions/mysql-fetch-row.xml +++ b/reference/mysql/functions/mysql-fetch-row.xml @@ -6,6 +6,16 @@ Get a result row as an enumerated array + + + &mysql.alternative.note; + + mysqli_fetch_row + PDOStatement::fetch(PDO::FETCH_NUM) + + + + &reftitle.description; diff --git a/reference/mysql/functions/mysql-field-flags.xml b/reference/mysql/functions/mysql-field-flags.xml index e4a6cbd5d0..0df0bcc2a9 100644 --- a/reference/mysql/functions/mysql-field-flags.xml +++ b/reference/mysql/functions/mysql-field-flags.xml @@ -6,6 +6,16 @@ Get the flags associated with the specified field in a result + + + &mysql.alternative.note; + + mysqli_fetch_fields (flags) + PDOStatement::getColumnMeta (flags) + + + + &reftitle.description; diff --git a/reference/mysql/functions/mysql-field-len.xml b/reference/mysql/functions/mysql-field-len.xml index 1cd249d239..884445c3c5 100644 --- a/reference/mysql/functions/mysql-field-len.xml +++ b/reference/mysql/functions/mysql-field-len.xml @@ -6,6 +6,16 @@ Returns the length of the specified field + + + &mysql.alternative.note; + + mysqli_fetch_field_direct (length) + PDOStatement::getColumnMeta (len) + + + + &reftitle.description; diff --git a/reference/mysql/functions/mysql-field-name.xml b/reference/mysql/functions/mysql-field-name.xml index 3f078c62a1..2bc9a486b3 100644 --- a/reference/mysql/functions/mysql-field-name.xml +++ b/reference/mysql/functions/mysql-field-name.xml @@ -6,6 +6,16 @@ Get the name of the specified field in a result + + + &mysql.alternative.note; + + mysqli_fetch_field_direct (name or orgname) + PDOStatement::getColumnMeta (name) + + + + &reftitle.description; diff --git a/reference/mysql/functions/mysql-field-seek.xml b/reference/mysql/functions/mysql-field-seek.xml index 123f082070..4637745fab 100644 --- a/reference/mysql/functions/mysql-field-seek.xml +++ b/reference/mysql/functions/mysql-field-seek.xml @@ -6,6 +6,17 @@ Set result pointer to a specified field offset + + + &mysql.alternative.note; + + mysqli_field_seek + + PDOStatement::fetch using optional parameters + + + + &reftitle.description; diff --git a/reference/mysql/functions/mysql-field-table.xml b/reference/mysql/functions/mysql-field-table.xml index 30aa169f0b..a6a8856e56 100644 --- a/reference/mysql/functions/mysql-field-table.xml +++ b/reference/mysql/functions/mysql-field-table.xml @@ -6,6 +6,16 @@ Get name of the table the specified field is in + + + &mysql.alternative.note; + + mysqli_fetch_field_direct (table or orgtable) + PDOStatement::getColumnMeta (table) + + + + &reftitle.description; diff --git a/reference/mysql/functions/mysql-field-type.xml b/reference/mysql/functions/mysql-field-type.xml index 47a783b7c5..f97ccc7ad8 100644 --- a/reference/mysql/functions/mysql-field-type.xml +++ b/reference/mysql/functions/mysql-field-type.xml @@ -6,6 +6,16 @@ Get the type of the specified field in a result + + + &mysql.alternative.note; + + mysqli_fetch_field_direct (type) + PDOStatement::getColumnMeta (driver:decl_type or pdo_type) + + + + &reftitle.description; diff --git a/reference/mysql/functions/mysql-free-result.xml b/reference/mysql/functions/mysql-free-result.xml index 225ecb9528..80e16508d4 100644 --- a/reference/mysql/functions/mysql-free-result.xml +++ b/reference/mysql/functions/mysql-free-result.xml @@ -6,6 +6,16 @@ Free result memory + + + &mysql.alternative.note; + + mysqli_free_result + Assign the value of &null; to the PDO object, or PDOStatement::closeCursor + + + + &reftitle.description; diff --git a/reference/mysql/functions/mysql-get-client-info.xml b/reference/mysql/functions/mysql-get-client-info.xml index 00efb1dc4f..dd1b35415b 100644 --- a/reference/mysql/functions/mysql-get-client-info.xml +++ b/reference/mysql/functions/mysql-get-client-info.xml @@ -6,6 +6,16 @@ Get MySQL client info + + + &mysql.alternative.note; + + mysqli_get_client_info + PDO::getAttribute(PDO::ATTR_CLIENT_VERSION) + + + + &reftitle.description; diff --git a/reference/mysql/functions/mysql-get-host-info.xml b/reference/mysql/functions/mysql-get-host-info.xml index 35d8dc10f7..3a19f40953 100644 --- a/reference/mysql/functions/mysql-get-host-info.xml +++ b/reference/mysql/functions/mysql-get-host-info.xml @@ -6,6 +6,16 @@ Get MySQL host info + + + &mysql.alternative.note; + + mysqli_get_host_info + PDO::getAttribute(PDO::ATTR_CONNECTION_STATUS) + + + + &reftitle.description; diff --git a/reference/mysql/functions/mysql-get-proto-info.xml b/reference/mysql/functions/mysql-get-proto-info.xml index 2c158031eb..b609bf1ae5 100644 --- a/reference/mysql/functions/mysql-get-proto-info.xml +++ b/reference/mysql/functions/mysql-get-proto-info.xml @@ -6,6 +6,15 @@ Get MySQL protocol info + + + &mysql.alternative.note; + + mysqli_get_proto_info + + + + &reftitle.description; diff --git a/reference/mysql/functions/mysql-get-server-info.xml b/reference/mysql/functions/mysql-get-server-info.xml index 7331a50049..35ddcf68cc 100644 --- a/reference/mysql/functions/mysql-get-server-info.xml +++ b/reference/mysql/functions/mysql-get-server-info.xml @@ -6,6 +6,16 @@ Get MySQL server info + + + &mysql.alternative.note; + + mysqli_get_server_info + PDO::getAttribute(PDO::ATTR_SERVER_VERSION) + + + + &reftitle.description; diff --git a/reference/mysql/functions/mysql-info.xml b/reference/mysql/functions/mysql-info.xml index d96ea91f35..309e56d207 100644 --- a/reference/mysql/functions/mysql-info.xml +++ b/reference/mysql/functions/mysql-info.xml @@ -6,6 +6,15 @@ Get information about the most recent query + + + &mysql.alternative.note; + + mysqli_info + + + + &reftitle.description; diff --git a/reference/mysql/functions/mysql-insert-id.xml b/reference/mysql/functions/mysql-insert-id.xml index b8fd2d6cba..18675965ca 100644 --- a/reference/mysql/functions/mysql-insert-id.xml +++ b/reference/mysql/functions/mysql-insert-id.xml @@ -6,6 +6,16 @@ Get the ID generated in the last query + + + &mysql.alternative.note; + + mysqli_insert_id + PDO::lastInsertId + + + + &reftitle.description; diff --git a/reference/mysql/functions/mysql-list-dbs.xml b/reference/mysql/functions/mysql-list-dbs.xml index dc679a1595..99eaa05e97 100644 --- a/reference/mysql/functions/mysql-list-dbs.xml +++ b/reference/mysql/functions/mysql-list-dbs.xml @@ -6,6 +6,15 @@ List databases available on a MySQL server + + + &mysql.alternative.note; + + SQL Query: SHOW DATABASES + + + + &reftitle.description; diff --git a/reference/mysql/functions/mysql-list-fields.xml b/reference/mysql/functions/mysql-list-fields.xml index 3c343a70e3..6fd3f8a008 100644 --- a/reference/mysql/functions/mysql-list-fields.xml +++ b/reference/mysql/functions/mysql-list-fields.xml @@ -6,6 +6,15 @@ List MySQL table fields + + + &mysql.alternative.note; + + SQL Query: SHOW COLUMNS FROM sometable + + + + &reftitle.description; diff --git a/reference/mysql/functions/mysql-list-processes.xml b/reference/mysql/functions/mysql-list-processes.xml index f278e2ea54..0b59a5bad9 100644 --- a/reference/mysql/functions/mysql-list-processes.xml +++ b/reference/mysql/functions/mysql-list-processes.xml @@ -6,6 +6,15 @@ List MySQL processes + + + &mysql.alternative.note; + + mysqli_thread_id + + + + &reftitle.description; diff --git a/reference/mysql/functions/mysql-list-tables.xml b/reference/mysql/functions/mysql-list-tables.xml index 28c57cf3a1..0064dbf644 100644 --- a/reference/mysql/functions/mysql-list-tables.xml +++ b/reference/mysql/functions/mysql-list-tables.xml @@ -6,6 +6,15 @@ List tables in a MySQL database + + + &mysql.alternative.note; + + SQL Query: SHOW TABLES FROM sometable + + + + &reftitle.description; diff --git a/reference/mysql/functions/mysql-num-fields.xml b/reference/mysql/functions/mysql-num-fields.xml index 19b4a8a373..87d9210640 100644 --- a/reference/mysql/functions/mysql-num-fields.xml +++ b/reference/mysql/functions/mysql-num-fields.xml @@ -6,6 +6,16 @@ Get number of fields in result + + + &mysql.alternative.note; + + mysqli_field_count + PDOStatement::columnCount + + + + &reftitle.description; diff --git a/reference/mysql/functions/mysql-num-rows.xml b/reference/mysql/functions/mysql-num-rows.xml index a6fbb0f226..4466d4997e 100644 --- a/reference/mysql/functions/mysql-num-rows.xml +++ b/reference/mysql/functions/mysql-num-rows.xml @@ -6,6 +6,16 @@ Get number of rows in result + + + &mysql.alternative.note; + + mysqli_stmt_num_rows + PDOStatement::rowCount + + + + &reftitle.description; diff --git a/reference/mysql/functions/mysql-pconnect.xml b/reference/mysql/functions/mysql-pconnect.xml index 353d90f8ad..7cd54187e1 100644 --- a/reference/mysql/functions/mysql-pconnect.xml +++ b/reference/mysql/functions/mysql-pconnect.xml @@ -6,6 +6,16 @@ Open a persistent connection to a MySQL server + + + &mysql.alternative.note; + + mysqli_connect with p: host prefix + PDO::__construct with PDO::ATTR_PERSISTENT as a driver option + + + + &reftitle.description; diff --git a/reference/mysql/functions/mysql-ping.xml b/reference/mysql/functions/mysql-ping.xml index 4dcc9fead1..dadfdfad78 100644 --- a/reference/mysql/functions/mysql-ping.xml +++ b/reference/mysql/functions/mysql-ping.xml @@ -6,6 +6,15 @@ Ping a server connection or reconnect if there is no connection + + + &mysql.alternative.note; + + mysqli_ping + + + + &reftitle.description; diff --git a/reference/mysql/functions/mysql-query.xml b/reference/mysql/functions/mysql-query.xml index 1120ce7ea9..63f3687a94 100644 --- a/reference/mysql/functions/mysql-query.xml +++ b/reference/mysql/functions/mysql-query.xml @@ -6,6 +6,16 @@ Send a MySQL query + + + &mysql.alternative.note; + + mysqli_query + PDO::query + + + + &reftitle.description; diff --git a/reference/mysql/functions/mysql-real-escape-string.xml b/reference/mysql/functions/mysql-real-escape-string.xml index 362a92afe7..d3270c13f5 100644 --- a/reference/mysql/functions/mysql-real-escape-string.xml +++ b/reference/mysql/functions/mysql-real-escape-string.xml @@ -6,6 +6,16 @@ Escapes special characters in a string for use in an SQL statement + + + &mysql.alternative.note; + + mysqli_real_escape_string + PDO::quote + + + + &reftitle.description; diff --git a/reference/mysql/functions/mysql-select-db.xml b/reference/mysql/functions/mysql-select-db.xml index 7462cdecf5..bfdb218407 100644 --- a/reference/mysql/functions/mysql-select-db.xml +++ b/reference/mysql/functions/mysql-select-db.xml @@ -6,6 +6,16 @@ Select a MySQL database + + + &mysql.alternative.note; + + mysqli_select_db + PDO::__construct (part of dsn) + + + + &reftitle.description; diff --git a/reference/mysql/functions/mysql-stat.xml b/reference/mysql/functions/mysql-stat.xml index 8fb421c21b..c7747852e4 100644 --- a/reference/mysql/functions/mysql-stat.xml +++ b/reference/mysql/functions/mysql-stat.xml @@ -6,6 +6,16 @@ Get current system status + + + &mysql.alternative.note; + + mysqli_stat + PDO::getAttribute(PDO::ATTR_SERVER_INFO) + + + + &reftitle.description; diff --git a/reference/mysql/functions/mysql-tablename.xml b/reference/mysql/functions/mysql-tablename.xml index e69537d858..5b61a6ad81 100644 --- a/reference/mysql/functions/mysql-tablename.xml +++ b/reference/mysql/functions/mysql-tablename.xml @@ -6,6 +6,15 @@ Get table name of field + + + &mysql.alternative.note; + + SQL Query: SHOW TABLES + + + + &reftitle.description; diff --git a/reference/mysql/functions/mysql-thread-id.xml b/reference/mysql/functions/mysql-thread-id.xml index 6eaf0df6bb..58d8d5eb1e 100644 --- a/reference/mysql/functions/mysql-thread-id.xml +++ b/reference/mysql/functions/mysql-thread-id.xml @@ -6,6 +6,15 @@ Return the current thread ID + + + &mysql.alternative.note; + + mysqli_thread_id + + + + &reftitle.description; diff --git a/reference/mysql/functions/mysql-unbuffered-query.xml b/reference/mysql/functions/mysql-unbuffered-query.xml index eccade6c14..81a02796da 100644 --- a/reference/mysql/functions/mysql-unbuffered-query.xml +++ b/reference/mysql/functions/mysql-unbuffered-query.xml @@ -6,6 +6,15 @@ Send an SQL query to MySQL without fetching and buffering the result rows. + + + &mysql.alternative.note; + + See: Buffered and Unbuffered queries + + + + &reftitle.description;