changing mysql_* => mysqli_*

git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@161085 c90b9560-bf6c-de11-be94-00142212c4b1
This commit is contained in:
Enrique Garcia Briones 2004-06-11 14:09:55 +00:00
parent a3f0e20e8f
commit e23aecf36a
6 changed files with 16 additions and 16 deletions

View file

@ -1,5 +1,5 @@
<?xml version="1.0" encoding="iso-8859-1"?>
<!-- $Revision: 1.11 $ -->
<!-- $Revision: 1.12 $ -->
<refentry id="function.mysqli-fetch-lengths">
<refnamediv>
<refname>mysqli_fetch_lengths</refname>
@ -32,8 +32,8 @@
any terminating null characters). &false; if an error occurred.
</para>
<para>
<function>mysql_fetch_lengths</function> is valid only for the current row of the result set.
It returns &false; if you call it before calling mysql_fetch_row/array/object or after retrieving
<function>mysqli_fetch_lengths</function> is valid only for the current row of the result set.
It returns &false; if you call it before calling mysqli_fetch_row/array/object or after retrieving
all rows in the result.
</para>
</refsect1>

View file

@ -1,5 +1,5 @@
<?xml version="1.0" encoding="iso-8859-1"?>
<!-- $Revision: 1.6 $ -->
<!-- $Revision: 1.7 $ -->
<refentry id="function.mysqli-real-connect">
<refnamediv>
<refname>mysqli_real_connect</refname>
@ -36,7 +36,7 @@
</methodsynopsis>
</classsynopsis>
<para>
mysql_real_connect() attempts to establish a connection to a MySQL database engine running on host.
mysqli_real_connect() attempts to establish a connection to a MySQL database engine running on host.
</para>
<para>
This function differs from <function>mysqli_connect</function>:

View file

@ -1,5 +1,5 @@
<?xml version="1.0" encoding="iso-8859-1"?>
<!-- $Revision: 1.3 $ -->
<!-- $Revision: 1.4 $ -->
<refentry id="function.mysqli-stmt-bind-param">
<refnamediv>
<refname>mysqli_stmt_bind_param</refname>
@ -30,7 +30,7 @@
<para>
<function>mysqli_stmt_bind_param</function> is used to bind variables for the
parameter markers in the SQL statement that was passed to
<function>mysql_prepare</function>.
<function>mysqli_prepare</function>.
The string <parameter>types</parameter> contains one or more characters which specify
the types for the corresponding bind variables
<table>

View file

@ -1,5 +1,5 @@
<?xml version="1.0" encoding="iso-8859-1"?>
<!-- $Revision: 1.5 $ -->
<!-- $Revision: 1.6 $ -->
<refentry id="function.mysqli-stmt-close">
<refnamediv>
<refname>mysqli_stmt_close</refname>
@ -22,7 +22,7 @@
</methodsynopsis>
</classsynopsis>
<para>
Closes a prepared statement. <function>mysql_stmt_close</function> also deallocates the
Closes a prepared statement. <function>mysqli_stmt_close</function> also deallocates the
statement handle pointed to by <parameter>stmt</parameter>.
If the current statement has pending or unread results, this function cancels them so that
the next query can be executed.

View file

@ -1,5 +1,5 @@
<?xml version="1.0" encoding="iso-8859-1"?>
<!-- $Revision: 1.5 $ -->
<!-- $Revision: 1.6 $ -->
<refentry id="function.mysqli-stmt-error">
<refnamediv>
<refname>mysqli_stmt_error</refname>
@ -19,7 +19,7 @@
<fieldsynopsis><type>string</type><varname>error</varname></fieldsynopsis>
</classsynopsis>
<para>
For the statement specified by <literal>stmt</literal>, <function>mysql_stmt_error</function>
For the statement specified by <literal>stmt</literal>, <function>mysqli_stmt_error</function>
returns a containing the error message for the most recently invoked statement function that
can succeed or fail.
</para>

View file

@ -1,5 +1,5 @@
<?xml version="1.0" encoding="iso-8859-1"?>
<!-- $Revision: 1.6 $ -->
<!-- $Revision: 1.7 $ -->
<refentry id="function.mysqli-stmt-store-result">
<refnamediv>
<refname>mysqli_stmt_store_result</refname>
@ -22,17 +22,17 @@
</methodsynopsis>
</classsynopsis>
<para>
You must call <function>mysql_stmt_store_result</function> for every query that
You must call <function>mysqli_stmt_store_result</function> for every query that
successfully produces a result set (<literal>SELECT, SHOW, DESCRIBE, EXPLAIN</literal>),
and only if you want to buffer the complete result set by the client,
so that the subsequent <function>mysql_fetch</function> call returns buffered data.
so that the subsequent <function>mysqli_fetch</function> call returns buffered data.
</para>
<note>
<para>
It is unnecessary to call <function>mysql_stmt_store_result</function> for other queries,
It is unnecessary to call <function>mysqli_stmt_store_result</function> for other queries,
but if you do, it will not harm or cause any notable performance in all cases.
You can detect whether the query produced a result set by checking if
<function>mysql_stmt_result_metadata</function> returns NULL.
<function>mysqli_stmt_result_metadata</function> returns NULL.
</para>
</note>
</refsect1>