Reword PDOStatement::nextRowset example description

Closes GH-940.
This commit is contained in:
Kamil Tekiela 2021-09-13 14:48:46 +01:00 committed by GitHub
parent 6e67c80bc7
commit 25a4efd32a
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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[