mirror of
https://github.com/sigmasternchen/php-doc-en
synced 2025-03-16 00:48:54 +00:00
Replace obsolete mysqli_fetch() with mysqli_stmt_fetch()
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@183662 c90b9560-bf6c-de11-be94-00142212c4b1
This commit is contained in:
parent
55be314e2b
commit
e2c654e533
3 changed files with 8 additions and 8 deletions
|
@ -1,5 +1,5 @@
|
|||
<?xml version="1.0" encoding="iso-8859-1"?>
|
||||
<!-- $Revision: 1.6 $ -->
|
||||
<!-- $Revision: 1.7 $ -->
|
||||
<refentry id="function.mysqli-stmt-execute">
|
||||
<refnamediv>
|
||||
<refname>mysqli_stmt_execute</refname>
|
||||
|
@ -30,11 +30,11 @@
|
|||
<para>
|
||||
If the statement is UPDATE, DELETE, or INSERT, the total number of affected rows can be
|
||||
determined by using the <function>mysqli_stmt_affected_rows</function> function. Likewise,
|
||||
if the query yields a result set the <function>mysqli_fetch</function> function is used.
|
||||
if the query yields a result set the <function>mysqli_stmt_fetch</function> function is used.
|
||||
</para>
|
||||
<note>
|
||||
<para>
|
||||
When using <function>mysqli_stmt_execute</function>, the <function>mysqli_fetch</function>
|
||||
When using <function>mysqli_stmt_execute</function>, the <function>mysqli_stmt_fetch</function>
|
||||
function must be used to fetch the data prior to performing any additional queries.
|
||||
</para>
|
||||
</note>
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
<?xml version="1.0" encoding="iso-8859-1"?>
|
||||
<!-- $Revision: 1.6 $ -->
|
||||
<!-- $Revision: 1.7 $ -->
|
||||
<refentry id="function.mysqli-stmt-result-metadata">
|
||||
<refnamediv>
|
||||
<refname>mysqli_stmt_result_metadata</refname>
|
||||
|
@ -49,7 +49,7 @@
|
|||
<para>
|
||||
The result set returned by <function>mysqli_stmt_result_metadata</function> contains only
|
||||
metadata. It does not contain any row results. The rows are obtained by using the
|
||||
statement handle with <function>mysqli_fetch</function>.
|
||||
statement handle with <function>mysqli_stmt_fetch</function>.
|
||||
</para>
|
||||
</note>
|
||||
</refsect1>
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
<?xml version="1.0" encoding="iso-8859-1"?>
|
||||
<!-- $Revision: 1.9 $ -->
|
||||
<!-- $Revision: 1.10 $ -->
|
||||
<refentry id="function.mysqli-stmt-store-result">
|
||||
<refnamediv>
|
||||
<refname>mysqli_stmt_store_result</refname>
|
||||
|
@ -25,7 +25,7 @@
|
|||
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>mysqli_fetch</function> call returns buffered data.
|
||||
so that the subsequent <function>mysqli_stmt_fetch</function> call returns buffered data.
|
||||
</para>
|
||||
<note>
|
||||
<para>
|
||||
|
@ -45,7 +45,7 @@
|
|||
<para>
|
||||
<function>mysqli_prepare</function>,
|
||||
<function>mysqli_stmt_result_metadata</function>&listendand;
|
||||
<function>mysqli_fetch</function>.
|
||||
<function>mysqli_stmt_fetch</function>.
|
||||
</para>
|
||||
</refsect1>
|
||||
<refsect1>
|
||||
|
|
Loading…
Reference in a new issue