mirror of
https://github.com/sigmasternchen/php-doc-en
synced 2025-03-16 00:48:54 +00:00
Reword PDOStatement::nextRowset example description
Closes GH-940.
This commit is contained in:
parent
6e67c80bc7
commit
25a4efd32a
1 changed files with 4 additions and 3 deletions
|
@ -42,9 +42,10 @@
|
|||
<title>Fetching multiple rowsets returned from a stored procedure</title>
|
||||
<para>
|
||||
The following example shows how to call a stored procedure,
|
||||
MULTIPLE_ROWSETS, that returns three rowsets. We use a do / while loop to
|
||||
loop over the <function>PDOStatement::nextRowset</function> method, which
|
||||
returns false and terminates the loop when no more rowsets can be returned.
|
||||
<literal>MULTIPLE_ROWSETS</literal>, which returns three rowsets. We use a
|
||||
<link linkend="control-structures.do.while">do-while</link> loop to
|
||||
call the <methodname>PDOStatement::nextRowset</methodname> method until it
|
||||
returns &false; and terminates the loop when no more rowsets are available.
|
||||
</para>
|
||||
<programlisting role="php">
|
||||
<![CDATA[
|
||||
|
|
Loading…
Reference in a new issue