mirror of
https://github.com/sigmasternchen/php-doc-en
synced 2025-03-15 16:38:54 +00:00
731 lines
27 KiB
XML
731 lines
27 KiB
XML
<?xml version="1.0" encoding="utf-8"?>
|
|
<!-- $Revision$ -->
|
|
<chapter xml:id="mysqli.summary" xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink">
|
|
|
|
<title>The MySQLi Extension Function Summary</title>
|
|
|
|
<table xml:id="mysqli.summary.classtable">
|
|
<title>Summary of <classname>mysqli</classname> methods</title>
|
|
<tgroup cols="4">
|
|
<thead>
|
|
<row>
|
|
<entry>mysqli Class</entry>
|
|
</row>
|
|
<row>
|
|
<entry>OOP Interface</entry>
|
|
<entry>Procedural Interface</entry>
|
|
<entry>Alias (Do not use)</entry>
|
|
<entry>Description</entry>
|
|
</row>
|
|
</thead>
|
|
<tbody>
|
|
<row>
|
|
<entry><emphasis role="bold">Properties</emphasis></entry>
|
|
</row>
|
|
<row>
|
|
<entry><link linkend="mysqli.affected-rows">$mysqli::affected_rows</link></entry>
|
|
<entry><function>mysqli_affected_rows</function></entry>
|
|
<entry>N/A</entry>
|
|
<entry>Gets the number of affected rows in a previous MySQL operation</entry>
|
|
</row>
|
|
<row>
|
|
<entry><link linkend="mysqli.get-client-info">$mysqli::client_info</link></entry>
|
|
<entry><function>mysqli_get_client_info</function></entry>
|
|
<entry>N/A</entry>
|
|
<entry>Returns the MySQL client version as a string</entry>
|
|
</row>
|
|
<row>
|
|
<entry><link linkend="mysqli.get-client-version">$mysqli::client_version</link></entry>
|
|
<entry><function>mysqli_get_client_version</function></entry>
|
|
<entry>N/A</entry>
|
|
<entry>Returns MySQL client version info as an integer</entry> </row>
|
|
<row>
|
|
<entry><link linkend="mysqli.connect-errno">$mysqli::connect_errno</link></entry>
|
|
<entry><function>mysqli_connect_errno</function></entry>
|
|
<entry>N/A</entry>
|
|
<entry>Returns the error code from last connect call</entry>
|
|
</row>
|
|
<row>
|
|
<entry><link linkend="mysqli.connect-error">$mysqli::connect_error</link></entry>
|
|
<entry><function>mysqli_connect_error</function></entry>
|
|
<entry>N/A</entry>
|
|
<entry>Returns a string description of the last connect error</entry>
|
|
</row>
|
|
<row>
|
|
<entry><link linkend="mysqli.errno">$mysqli::errno</link></entry>
|
|
<entry><function>mysqli_errno</function></entry>
|
|
<entry>N/A</entry>
|
|
<entry>Returns the error code for the most recent function call</entry>
|
|
</row>
|
|
<row>
|
|
<entry><link linkend="mysqli.error">$mysqli::error</link></entry>
|
|
<entry><function>mysqli_error</function></entry>
|
|
<entry>N/A</entry>
|
|
<entry>Returns a string description of the last error</entry>
|
|
</row>
|
|
<row>
|
|
<entry><link linkend="mysqli.field-count">$mysqli::field_count</link></entry>
|
|
<entry><function>mysqli_field_count</function></entry>
|
|
<entry>N/A</entry>
|
|
<entry>Returns the number of columns for the most recent query</entry>
|
|
</row>
|
|
<row>
|
|
<entry><link linkend="mysqli.get-host-info">$mysqli::host_info</link></entry>
|
|
<entry><function>mysqli_get_host_info</function></entry>
|
|
<entry>N/A</entry>
|
|
<entry>Returns a string representing the type of connection used</entry>
|
|
</row>
|
|
<row>
|
|
<entry><link linkend="mysqli.get-proto-info">$mysqli::protocol_version</link></entry>
|
|
<entry><function>mysqli_get_proto_info</function></entry>
|
|
<entry>N/A</entry>
|
|
<entry>Returns the version of the MySQL protocol used</entry>
|
|
</row>
|
|
<row>
|
|
<entry><link linkend="mysqli.get-server-info">$mysqli::server_info</link></entry>
|
|
<entry><function>mysqli_get_server_info</function></entry>
|
|
<entry>N/A</entry>
|
|
<entry>Returns the version of the MySQL server</entry>
|
|
</row>
|
|
<row>
|
|
<entry><link linkend="mysqli.get-server-version">$mysqli::server_version</link></entry>
|
|
<entry><function>mysqli_get_server_version</function></entry>
|
|
<entry>N/A</entry>
|
|
<entry>Returns the version of the MySQL server as an integer</entry>
|
|
</row>
|
|
<row>
|
|
<entry><link linkend="mysqli.info">$mysqli::info</link></entry>
|
|
<entry><function>mysqli_info</function></entry>
|
|
<entry>N/A</entry>
|
|
<entry>Retrieves information about the most recently executed query</entry>
|
|
</row>
|
|
<row>
|
|
<entry><link linkend="mysqli.insert-id">$mysqli::insert_id</link></entry>
|
|
<entry><function>mysqli_insert_id</function></entry>
|
|
<entry>N/A</entry>
|
|
<entry>Returns the auto generated id used in the last query</entry>
|
|
</row>
|
|
<row>
|
|
<entry><link linkend="mysqli.sqlstate">$mysqli::sqlstate</link></entry>
|
|
<entry><function>mysqli_sqlstate</function></entry>
|
|
<entry>N/A</entry>
|
|
<entry>Returns the SQLSTATE error from previous MySQL operation</entry>
|
|
</row>
|
|
<row>
|
|
<entry><link linkend="mysqli.warning-count">$mysqli::warning_count</link></entry>
|
|
<entry><function>mysqli_warning_count</function></entry>
|
|
<entry>N/A</entry>
|
|
<entry>Returns the number of warnings from the last query for the given link</entry>
|
|
</row>
|
|
<row>
|
|
<entry><emphasis role="bold">Methods</emphasis></entry>
|
|
</row>
|
|
<row>
|
|
<entry><methodname>mysqli::autocommit</methodname></entry>
|
|
<entry><function>mysqli_autocommit</function></entry>
|
|
<entry>N/A</entry>
|
|
<entry>Turns on or off auto-committing database modifications</entry>
|
|
</row>
|
|
<row>
|
|
<entry><methodname>mysqli::change_user</methodname></entry>
|
|
<entry><function>mysqli_change_user</function></entry>
|
|
<entry>N/A</entry>
|
|
<entry>Changes the user of the specified database connection</entry>
|
|
</row>
|
|
<row>
|
|
<entry><methodname>mysqli::character_set_name</methodname></entry>
|
|
<entry><function>mysqli_character_set_name</function></entry>
|
|
<entry>N/A</entry>
|
|
<entry>Returns the default character set for the database connection</entry>
|
|
</row>
|
|
<row>
|
|
<entry><methodname>mysqli::close</methodname></entry>
|
|
<entry><function>mysqli_close</function></entry>
|
|
<entry>N/A</entry>
|
|
<entry>Closes a previously opened database connection</entry>
|
|
</row>
|
|
<row>
|
|
<entry><methodname>mysqli::commit</methodname></entry>
|
|
<entry><function>mysqli_commit</function></entry>
|
|
<entry>N/A</entry>
|
|
<entry>Commits the current transaction</entry>
|
|
</row>
|
|
<row>
|
|
<entry><methodname>mysqli::__construct</methodname></entry>
|
|
<entry><function>mysqli_connect</function></entry>
|
|
<entry>N/A</entry>
|
|
<entry>Open a new connection to the MySQL server [Note: static (i.e. class)
|
|
method]</entry>
|
|
</row>
|
|
<row>
|
|
<entry><methodname>mysqli::debug</methodname></entry>
|
|
<entry><function>mysqli_debug</function></entry>
|
|
<entry>N/A</entry>
|
|
<entry>Performs debugging operations</entry>
|
|
</row>
|
|
<row>
|
|
<entry><methodname>mysqli::dump_debug_info</methodname></entry>
|
|
<entry><function>mysqli_dump_debug_info</function></entry>
|
|
<entry>N/A</entry>
|
|
<entry>Dump debugging information into the log</entry>
|
|
</row>
|
|
<row>
|
|
<entry><methodname>mysqli::get_charset</methodname></entry>
|
|
<entry><function>mysqli_get_charset</function></entry>
|
|
<entry>N/A</entry>
|
|
<entry>Returns a character set object</entry>
|
|
</row>
|
|
<row>
|
|
<entry><methodname>mysqli::get_connection_stats</methodname></entry>
|
|
<entry><function>mysqli_get_connection_stats</function></entry>
|
|
<entry>N/A</entry>
|
|
<entry>Returns client connection statistics. &mysqli.available.mysqlnd;</entry>
|
|
</row>
|
|
<row>
|
|
<entry><methodname>mysqli::get_client_info</methodname></entry>
|
|
<entry><function>mysqli_get_client_info</function></entry>
|
|
<entry>N/A</entry>
|
|
<entry>Returns the MySQL client version as a string</entry>
|
|
</row>
|
|
<row>
|
|
<entry>N/A</entry>
|
|
<entry><function>mysqli_get_client_stats</function></entry>
|
|
<entry>N/A</entry>
|
|
<entry>Returns client per-process statistics. &mysqli.available.mysqlnd;</entry>
|
|
</row>
|
|
<row>
|
|
<entry><methodname>mysqli::get_server_info</methodname></entry>
|
|
<entry><function>mysqli_get_server_info</function></entry>
|
|
<entry>N/A</entry>
|
|
<entry>Returns a string representing the version of the MySQL server that the MySQLi extension is connected to</entry>
|
|
</row>
|
|
<row>
|
|
<entry><methodname>mysqli::get_warnings</methodname></entry>
|
|
<entry><function>mysqli_get_warnings</function></entry>
|
|
<entry>N/A</entry>
|
|
<entry>NOT DOCUMENTED</entry>
|
|
</row>
|
|
<row>
|
|
<entry><methodname>mysqli::init</methodname></entry>
|
|
<entry><function>mysqli_init</function></entry>
|
|
<entry>N/A</entry>
|
|
<entry>Initializes MySQLi and returns an object for use with
|
|
mysqli_real_connect.</entry>
|
|
</row>
|
|
<row>
|
|
<entry><methodname>mysqli::kill</methodname></entry>
|
|
<entry><function>mysqli_kill</function></entry>
|
|
<entry>N/A</entry>
|
|
<entry>Asks the server to kill a MySQL thread</entry>
|
|
</row>
|
|
<row>
|
|
<entry><methodname>mysqli::more_results</methodname></entry>
|
|
<entry><function>mysqli_more_results</function></entry>
|
|
<entry>N/A</entry>
|
|
<entry>Check if there are any more query results from a multi query</entry>
|
|
</row>
|
|
<row>
|
|
<entry><methodname>mysqli::multi_query</methodname></entry>
|
|
<entry><function>mysqli_multi_query</function></entry>
|
|
<entry>N/A</entry>
|
|
<entry>Performs a query on the database</entry>
|
|
</row>
|
|
<row>
|
|
<entry><methodname>mysqli::next_result</methodname></entry>
|
|
<entry><function>mysqli_next_result</function></entry>
|
|
<entry>N/A</entry>
|
|
<entry>Prepare next result from multi_query</entry>
|
|
</row>
|
|
<row>
|
|
<entry><methodname>mysqli::options</methodname></entry>
|
|
<entry><function>mysqli_options</function></entry>
|
|
<entry><function>mysqli_set_opt</function></entry>
|
|
<entry>Set options</entry>
|
|
</row>
|
|
<row>
|
|
<entry><methodname>mysqli::ping</methodname></entry>
|
|
<entry><function>mysqli_ping</function></entry>
|
|
<entry>N/A</entry>
|
|
<entry>Pings a server connection, or tries to reconnect if the connection has
|
|
gone down</entry>
|
|
</row>
|
|
<row>
|
|
<entry><methodname>mysqli::prepare</methodname></entry>
|
|
<entry><function>mysqli_prepare</function></entry>
|
|
<entry>N/A</entry>
|
|
<entry>Prepare an SQL statement for execution</entry>
|
|
</row>
|
|
<row>
|
|
<entry><methodname>mysqli::query</methodname></entry>
|
|
<entry><function>mysqli_query</function></entry>
|
|
<entry>N/A</entry>
|
|
<entry>Performs a query on the database</entry>
|
|
</row>
|
|
<row>
|
|
<entry><methodname>mysqli::real_connect</methodname></entry>
|
|
<entry><function>mysqli_real_connect</function></entry>
|
|
<entry>N/A</entry>
|
|
<entry>Opens a connection to a mysql server</entry>
|
|
</row>
|
|
<row>
|
|
<entry><methodname>mysqli::real_escape_string</methodname>,
|
|
<methodname>mysqli::escape_string</methodname></entry>
|
|
<entry><function>mysqli_real_escape_string</function></entry>
|
|
<entry><function>mysqli_escape_string</function></entry>
|
|
<entry>Escapes special characters in a string for use in an SQL statement,
|
|
taking into account the current charset of the connection</entry>
|
|
</row>
|
|
<row>
|
|
<entry><methodname>mysqli::real_query</methodname></entry>
|
|
<entry><function>mysqli_real_query</function></entry>
|
|
<entry>N/A</entry>
|
|
<entry>Execute an SQL query</entry>
|
|
</row>
|
|
<row>
|
|
<entry><methodname>mysqli::refresh</methodname></entry>
|
|
<entry><function>mysqli_refresh</function></entry>
|
|
<entry>N/A</entry>
|
|
<entry>Flushes tables or caches, or resets the replication server information</entry>
|
|
</row>
|
|
<row>
|
|
<entry><methodname>mysqli::rollback</methodname></entry>
|
|
<entry><function>mysqli_rollback</function></entry>
|
|
<entry>N/A</entry>
|
|
<entry>Rolls back current transaction</entry>
|
|
</row>
|
|
<row>
|
|
<entry><methodname>mysqli::select_db</methodname></entry>
|
|
<entry><function>mysqli_select_db</function></entry>
|
|
<entry>N/A</entry>
|
|
<entry>Selects the default database for database queries</entry>
|
|
</row>
|
|
<row>
|
|
<entry><methodname>mysqli::set_charset</methodname></entry>
|
|
<entry><function>mysqli_set_charset</function></entry>
|
|
<entry>N/A</entry>
|
|
<entry>Sets the default client character set</entry>
|
|
</row>
|
|
<row>
|
|
<entry><methodname>mysqli::ssl_set</methodname></entry>
|
|
<entry><function>mysqli_ssl_set</function></entry>
|
|
<entry>N/A</entry>
|
|
<entry>Used for establishing secure connections using SSL</entry>
|
|
</row>
|
|
<row>
|
|
<entry><methodname>mysqli::stat</methodname></entry>
|
|
<entry><function>mysqli_stat</function></entry>
|
|
<entry>N/A</entry>
|
|
<entry>Gets the current system status</entry>
|
|
</row>
|
|
<row>
|
|
<entry><methodname>mysqli::stmt_init</methodname></entry>
|
|
<entry><function>mysqli_stmt_init</function></entry>
|
|
<entry>N/A</entry>
|
|
<entry>Initializes a statement and returns an object for use with
|
|
mysqli_stmt_prepare</entry>
|
|
</row>
|
|
<row>
|
|
<entry><methodname>mysqli::store_result</methodname></entry>
|
|
<entry><function>mysqli_store_result</function></entry>
|
|
<entry>N/A</entry>
|
|
<entry>Transfers a result set from the last query</entry>
|
|
</row>
|
|
<row>
|
|
<entry><methodname>mysqli::thread_id</methodname></entry>
|
|
<entry><function>mysqli_thread_id</function></entry>
|
|
<entry>N/A</entry>
|
|
<entry>Returns the thread ID for the current connection</entry>
|
|
</row>
|
|
<row>
|
|
<entry><methodname>mysqli::thread_safe</methodname></entry>
|
|
<entry><function>mysqli_thread_safe</function></entry>
|
|
<entry>N/A</entry>
|
|
<entry>Returns whether thread safety is given or not</entry>
|
|
</row>
|
|
<row>
|
|
<entry><methodname>mysqli::use_result</methodname></entry>
|
|
<entry><function>mysqli_use_result</function></entry>
|
|
<entry>N/A</entry>
|
|
<entry>Initiate a result set retrieval</entry>
|
|
</row>
|
|
</tbody>
|
|
</tgroup>
|
|
</table>
|
|
|
|
<table xml:id="mysqli.summary.methods">
|
|
<title>Summary of <classname>mysqli_stmt</classname> methods</title>
|
|
<tgroup cols="4">
|
|
<thead>
|
|
<row>
|
|
<entry>MySQL_STMT</entry>
|
|
</row>
|
|
<row>
|
|
<entry>OOP Interface</entry>
|
|
<entry>Procedural Interface</entry>
|
|
<entry>Alias (Do not use)</entry>
|
|
<entry>Description</entry>
|
|
</row>
|
|
</thead>
|
|
<tbody>
|
|
<row>
|
|
<entry><emphasis role="bold">Properties</emphasis></entry>
|
|
</row>
|
|
<row>
|
|
<entry><link linkend="mysqli-stmt.affected-rows">$mysqli_stmt::affected_rows</link></entry>
|
|
<entry><function>mysqli_stmt_affected_rows</function></entry>
|
|
<entry>N/A</entry>
|
|
<entry>Returns the total number of rows changed, deleted, or inserted by the
|
|
last executed statement</entry>
|
|
</row>
|
|
<row>
|
|
<entry><link linkend="mysqli-stmt.errno">$mysqli_stmt::errno</link></entry>
|
|
<entry><function>mysqli_stmt_errno</function></entry>
|
|
<entry>N/A</entry>
|
|
<entry>Returns the error code for the most recent statement call</entry>
|
|
</row>
|
|
<row>
|
|
<entry><link linkend="mysqli-stmt.error">$mysqli_stmt::error</link></entry>
|
|
<entry><function>mysqli_stmt_error</function></entry>
|
|
<entry>N/A</entry>
|
|
<entry>Returns a string description for last statement error</entry>
|
|
</row>
|
|
<row>
|
|
<entry><link linkend="mysqli-stmt.field-count">$mysqli_stmt::field_count</link></entry>
|
|
<entry><function>mysqli_stmt_field_count</function></entry>
|
|
<entry>N/A</entry>
|
|
<entry>Returns the number of field in the given statement - not documented</entry>
|
|
</row>
|
|
<row>
|
|
<entry><link linkend="mysqli-stmt.insert-id">$mysqli_stmt::insert_id</link></entry>
|
|
<entry><function>mysqli_stmt_insert_id</function></entry>
|
|
<entry>N/A</entry>
|
|
<entry>Get the ID generated from the previous INSERT operation</entry>
|
|
</row>
|
|
<row>
|
|
<entry><link linkend="mysqli-stmt.num-rows">$mysqli_stmt::num_rows</link></entry>
|
|
<entry><function>mysqli_stmt_num_rows</function></entry>
|
|
<entry>N/A</entry>
|
|
<entry>Return the number of rows in statements result set</entry>
|
|
</row>
|
|
<row>
|
|
<entry><link linkend="mysqli-stmt.param-count">$mysqli_stmt::param_count</link></entry>
|
|
<entry><function>mysqli_stmt_param_count</function></entry>
|
|
<entry>N/A</entry>
|
|
<entry>Returns the number of parameter for the given statement</entry>
|
|
</row>
|
|
<row>
|
|
<entry><link linkend="mysqli-stmt.sqlstate">$mysqli_stmt::sqlstate</link></entry>
|
|
<entry><function>mysqli_stmt_sqlstate</function></entry>
|
|
<entry>N/A</entry>
|
|
<entry>Returns SQLSTATE error from previous statement operation</entry>
|
|
</row>
|
|
<row>
|
|
<entry><emphasis role="bold">Methods</emphasis></entry>
|
|
</row>
|
|
<row>
|
|
<entry><methodname>mysqli_stmt::attr_get</methodname></entry>
|
|
<entry><function>mysqli_stmt_attr_get</function></entry>
|
|
<entry>N/A</entry>
|
|
<entry>Used to get the current value of a statement attribute</entry>
|
|
</row>
|
|
<row>
|
|
<entry><methodname>mysqli_stmt::attr_set</methodname></entry>
|
|
<entry><function>mysqli_stmt_attr_set</function></entry>
|
|
<entry>N/A</entry>
|
|
<entry>Used to modify the behavior of a prepared statement</entry>
|
|
</row>
|
|
<row>
|
|
<entry><methodname>mysqli_stmt::bind_param</methodname></entry>
|
|
<entry><function>mysqli_stmt_bind_param</function></entry>
|
|
<entry>N/A</entry>
|
|
<entry>Binds variables to a prepared statement as parameters</entry>
|
|
</row>
|
|
<row>
|
|
<entry><methodname>mysqli_stmt::bind_result</methodname></entry>
|
|
<entry><function>mysqli_stmt_bind_result</function></entry>
|
|
<entry>N/A</entry>
|
|
<entry>Binds variables to a prepared statement for result storage</entry>
|
|
</row>
|
|
<row>
|
|
<entry><methodname>mysqli_stmt::close</methodname></entry>
|
|
<entry><function>mysqli_stmt_close</function></entry>
|
|
<entry>N/A</entry>
|
|
<entry>Closes a prepared statement</entry>
|
|
</row>
|
|
<row>
|
|
<entry><methodname>mysqli_stmt::data_seek</methodname></entry>
|
|
<entry><function>mysqli_stmt_data_seek</function></entry>
|
|
<entry>N/A</entry>
|
|
<entry>Seeks to an arbitrary row in statement result set</entry>
|
|
</row>
|
|
<row>
|
|
<entry><methodname>mysqli_stmt::execute</methodname></entry>
|
|
<entry><function>mysqli_stmt_execute</function></entry>
|
|
<entry><function>mysqli_execute</function></entry>
|
|
<entry>Executes a prepared Query</entry>
|
|
</row>
|
|
<row>
|
|
<entry><methodname>mysqli_stmt::fetch</methodname></entry>
|
|
<entry><function>mysqli_stmt_fetch</function></entry>
|
|
<entry>N/A</entry>
|
|
<entry>Fetch results from a prepared statement into the bound variables</entry>
|
|
</row>
|
|
<row>
|
|
<entry><methodname>mysqli_stmt::free_result</methodname></entry>
|
|
<entry><function>mysqli_stmt_free_result</function></entry>
|
|
<entry>N/A</entry>
|
|
<entry>Frees stored result memory for the given statement handle</entry>
|
|
</row>
|
|
<row>
|
|
<entry><methodname>mysqli_stmt::get_result</methodname></entry>
|
|
<entry><function>mysqli_stmt_get_result</function></entry>
|
|
<entry>N/A</entry>
|
|
<entry>Gets a result set from a prepared statement. &mysqli.available.mysqlnd;</entry>
|
|
</row>
|
|
<row>
|
|
<entry><methodname>mysqli_stmt::get_warnings</methodname></entry>
|
|
<entry><function>mysqli_stmt_get_warnings</function></entry>
|
|
<entry>N/A</entry>
|
|
<entry>NOT DOCUMENTED</entry>
|
|
</row>
|
|
<row>
|
|
<entry><methodname>mysqli_stmt::more_results</methodname></entry>
|
|
<entry><function>mysqli_stmt_more_results</function></entry>
|
|
<entry>N/A</entry>
|
|
<entry>Checks if there are more query results from a multiple query</entry>
|
|
</row>
|
|
<row>
|
|
<entry><methodname>mysqli_stmt::next_result</methodname></entry>
|
|
<entry><function>mysqli_stmt_next_result</function></entry>
|
|
<entry>N/A</entry>
|
|
<entry>Reads the next result from a multiple query</entry>
|
|
</row>
|
|
<row>
|
|
<entry><methodname>mysqli_stmt::num_rows</methodname></entry>
|
|
<entry><function>mysqli_stmt_num_rows</function></entry>
|
|
<entry>N/A</entry>
|
|
<entry>See also property <link linkend="mysqli-stmt.num-rows">$mysqli_stmt::num_rows</link></entry>
|
|
</row>
|
|
<row>
|
|
<entry><methodname>mysqli_stmt::prepare</methodname></entry>
|
|
<entry><function>mysqli_stmt_prepare</function></entry>
|
|
<entry>N/A</entry>
|
|
<entry>Prepare an SQL statement for execution</entry>
|
|
</row>
|
|
<row>
|
|
<entry><methodname>mysqli_stmt::reset</methodname></entry>
|
|
<entry><function>mysqli_stmt_reset</function></entry>
|
|
<entry>N/A</entry>
|
|
<entry>Resets a prepared statement</entry>
|
|
</row>
|
|
<row>
|
|
<entry><methodname>mysqli_stmt::result_metadata</methodname></entry>
|
|
<entry><function>mysqli_stmt_result_metadata</function></entry>
|
|
<entry>N/A</entry>
|
|
<entry>Returns result set metadata from a prepared statement</entry>
|
|
</row>
|
|
<row>
|
|
<entry><methodname>mysqli_stmt::send_long_data</methodname></entry>
|
|
<entry><function>mysqli_stmt_send_long_data</function></entry>
|
|
<entry>N/A</entry>
|
|
<entry>Send data in blocks</entry>
|
|
</row>
|
|
<row>
|
|
<entry><methodname>mysqli_stmt::store_result</methodname></entry>
|
|
<entry><function>mysqli_stmt_store_result</function></entry>
|
|
<entry>N/A</entry>
|
|
<entry>Transfers a result set from a prepared statement</entry>
|
|
</row>
|
|
</tbody>
|
|
</tgroup>
|
|
</table>
|
|
|
|
<table xml:id="mysqli.summary.resultmethods">
|
|
<title>Summary of <classname>mysqli_result</classname> methods</title>
|
|
<tgroup cols="4">
|
|
<thead>
|
|
<row>
|
|
<entry>mysqli_result</entry>
|
|
</row>
|
|
<row>
|
|
<entry>OOP Interface</entry>
|
|
<entry>Procedural Interface</entry>
|
|
<entry>Alias (Do not use)</entry>
|
|
<entry>Description</entry>
|
|
</row>
|
|
</thead>
|
|
<tbody>
|
|
<row>
|
|
<entry><emphasis role="bold">Properties</emphasis></entry>
|
|
</row>
|
|
<row>
|
|
<entry><link linkend="mysqli-result.current-field">$mysqli_result::current_field</link></entry>
|
|
<entry><function>mysqli_field_tell</function></entry>
|
|
<entry>N/A</entry>
|
|
<entry>Get current field offset of a result pointer</entry>
|
|
</row>
|
|
<row>
|
|
<entry><link linkend="mysqli-result.field-count">$mysqli_result::field_count</link></entry>
|
|
<entry><function>mysqli_num_fields</function></entry>
|
|
<entry>N/A</entry>
|
|
<entry>Get the number of fields in a result</entry>
|
|
</row>
|
|
<row>
|
|
<entry><link linkend="mysqli-result.lengths">$mysqli_result::lengths</link></entry>
|
|
<entry><function>mysqli_fetch_lengths</function></entry>
|
|
<entry>N/A</entry>
|
|
<entry>Returns the lengths of the columns of the current row in the result set</entry>
|
|
</row>
|
|
<row>
|
|
<entry><link linkend="mysqli-result.num-rows">$mysqli_result::num_rows</link></entry>
|
|
<entry><function>mysqli_num_rows</function></entry>
|
|
<entry>N/A</entry>
|
|
<entry>Gets the number of rows in a result</entry>
|
|
</row>
|
|
<row>
|
|
<entry><emphasis role="bold">Methods</emphasis></entry>
|
|
</row>
|
|
<row>
|
|
<entry><methodname>mysqli_result::data_seek</methodname></entry>
|
|
<entry><function>mysqli_data_seek</function></entry>
|
|
<entry>N/A</entry>
|
|
<entry>Adjusts the result pointer to an arbitrary row in the result</entry>
|
|
</row>
|
|
<row>
|
|
<entry><methodname>mysqli_result::fetch_all</methodname></entry>
|
|
<entry><function>mysqli_fetch_all</function></entry>
|
|
<entry>N/A</entry>
|
|
<entry>Fetches all result rows and returns the result set as an associative array, a numeric array, or both. &mysqli.available.mysqlnd;</entry>
|
|
</row>
|
|
<row>
|
|
<entry><methodname>mysqli_result::fetch_array</methodname></entry>
|
|
<entry><function>mysqli_fetch_array</function></entry>
|
|
<entry>N/A</entry>
|
|
<entry>Fetch a result row as an associative, a numeric array, or both</entry>
|
|
</row>
|
|
<row>
|
|
<entry><methodname>mysqli_result::fetch_assoc</methodname></entry>
|
|
<entry><function>mysqli_fetch_assoc</function></entry>
|
|
<entry>N/A</entry>
|
|
<entry>Fetch a result row as an associative array</entry>
|
|
</row>
|
|
<row>
|
|
<entry><methodname>mysqli_result::fetch_field_direct</methodname></entry>
|
|
<entry><function>mysqli_fetch_field_direct</function></entry>
|
|
<entry>N/A</entry>
|
|
<entry>Fetch meta-data for a single field</entry>
|
|
</row>
|
|
<row>
|
|
<entry><methodname>mysqli_result::fetch_field</methodname></entry>
|
|
<entry><function>mysqli_fetch_field</function></entry>
|
|
<entry>N/A</entry>
|
|
<entry>Returns the next field in the result set</entry>
|
|
</row>
|
|
<row>
|
|
<entry><methodname>mysqli_result::fetch_fields</methodname></entry>
|
|
<entry><function>mysqli_fetch_fields</function></entry>
|
|
<entry>N/A</entry>
|
|
<entry>Returns an array of objects representing the fields in a result set</entry>
|
|
</row>
|
|
<row>
|
|
<entry><methodname>mysqli_result::fetch_object</methodname></entry>
|
|
<entry><function>mysqli_fetch_object</function></entry>
|
|
<entry>N/A</entry>
|
|
<entry>Returns the current row of a result set as an object</entry>
|
|
</row>
|
|
<row>
|
|
<entry><methodname>mysqli_result::fetch_row</methodname></entry>
|
|
<entry><function>mysqli_fetch_row</function></entry>
|
|
<entry>N/A</entry>
|
|
<entry>Get a result row as an enumerated array</entry>
|
|
</row>
|
|
<row>
|
|
<entry><methodname>mysqli_result::field_seek</methodname></entry>
|
|
<entry><function>mysqli_field_seek</function></entry>
|
|
<entry>N/A</entry>
|
|
<entry>Set result pointer to a specified field offset</entry>
|
|
</row>
|
|
<row>
|
|
<entry><methodname>mysqli_result::free</methodname>,
|
|
<link linkend="mysqli-result.free">mysqli_result::close</link>,
|
|
<link linkend="mysqli-result.free">mysqli_result::free_result</link></entry>
|
|
<entry><function>mysqli_free_result</function></entry>
|
|
<entry>N/A</entry>
|
|
<entry>Frees the memory associated with a result</entry>
|
|
</row>
|
|
</tbody>
|
|
</tgroup>
|
|
</table>
|
|
|
|
<table xml:id="mysqli.summary.drivermethods">
|
|
<title>Summary of <classname>mysqli_driver</classname> methods</title>
|
|
<tgroup cols="4">
|
|
<thead>
|
|
<row>
|
|
<entry>MySQL_Driver</entry>
|
|
</row>
|
|
<row>
|
|
<entry>OOP Interface</entry>
|
|
<entry>Procedural Interface</entry>
|
|
<entry>Alias (Do not use)</entry>
|
|
<entry>Description</entry>
|
|
</row>
|
|
</thead>
|
|
<tbody>
|
|
<row>
|
|
<entry><emphasis role="bold">Properties</emphasis></entry>
|
|
</row>
|
|
<row>
|
|
<entry><link linkend="mysqli-driver.report-mode">$mysqli_driver::mysqli_report</link></entry>
|
|
<entry><function>mysqli_report</function></entry>
|
|
<entry>N/A</entry>
|
|
<entry>Sets mysqli error reporting mode</entry>
|
|
</row>
|
|
<row>
|
|
<entry><emphasis role="bold">Methods</emphasis></entry>
|
|
</row>
|
|
<row>
|
|
<entry><methodname>mysqli_driver::embedded_server_end</methodname></entry>
|
|
<entry><function>mysqli_embedded_server_end</function></entry>
|
|
<entry>N/A</entry>
|
|
<entry>NOT DOCUMENTED</entry>
|
|
</row>
|
|
<row>
|
|
<entry><methodname>mysqli_driver::embedded_server_start</methodname></entry>
|
|
<entry><function>mysqli_embedded_server_start</function></entry>
|
|
<entry>N/A</entry>
|
|
<entry>NOT DOCUMENTED</entry>
|
|
</row>
|
|
</tbody>
|
|
</tgroup>
|
|
</table>
|
|
|
|
<note>
|
|
<para>
|
|
Alias functions are provided for backward compatibility purposes
|
|
only. Do not use them in new projects.
|
|
</para>
|
|
</note>
|
|
|
|
</chapter>
|
|
|
|
<!-- Keep this comment at the end of the file
|
|
Local variables:
|
|
mode: sgml
|
|
sgml-omittag:t
|
|
sgml-shorttag:t
|
|
sgml-minimize-attributes:nil
|
|
sgml-always-quote-attributes:t
|
|
sgml-indent-step:1
|
|
sgml-indent-data:t
|
|
indent-tabs-mode:nil
|
|
sgml-parent-document:nil
|
|
sgml-default-dtd-file:"~/.phpdoc/manual.ced"
|
|
sgml-exposed-tags:nil
|
|
sgml-local-catalogs:nil
|
|
sgml-local-ecat-files:nil
|
|
End:
|
|
vim600: syn=xml fen fdm=syntax fdl=2 si
|
|
vim: et tw=78 syn=sgml
|
|
vi: ts=1 sw=1
|
|
-->
|