fix 30632 : mysqli_stmt_fetch returns a boolean

git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@171750 c90b9560-bf6c-de11-be94-00142212c4b1
This commit is contained in:
Mehdi Achour 2004-10-31 19:38:54 +00:00
parent 016701cf61
commit d4983604b4

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-fetch">
<refnamediv>
<refname>mysqli_stmt_fetch</refname>
@ -12,24 +12,27 @@
<title>Description</title>
<para>Procedural style:</para>
<methodsynopsis>
<type>mixed</type><methodname>mysqli_stmt_fetch</methodname>
<type>bool</type><methodname>mysqli_stmt_fetch</methodname>
<methodparam><type>object</type><parameter>stmt</parameter></methodparam>
</methodsynopsis>
<para>Object oriented style (method):</para>
<classsynopsis>
<ooclass><classname>stmt</classname></ooclass>
<methodsynopsis>
<type>mixed</type>
<type>bool</type>
<methodname>fetch</methodname>
<void />
</methodsynopsis>
</classsynopsis>
<para>
<function>mysqli_stmt_fetch</function> returns row data using the variables bound by <function>mysqli_stmt_bind_result</function>.
<function>mysqli_stmt_fetch</function> fetch the result from a prepared
statement into the variables bound by
<function>mysqli_stmt_bind_result</function>. &return.success;
</para>
<note>
<para>
Note that all columns must be bound by the application before calling <function>mysqli_stmt_fetch</function>.
Note that all columns must be bound by the application before calling
<function>mysqli_stmt_fetch</function>.
</para>
</note>
</refsect1>