Fetching multiple rowsets returned from a stored procedure
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 PDOStatement::nextRowset method, which
- returns false and terminates the loop when no more rowsets can be returned.
+ MULTIPLE_ROWSETS, which returns three rowsets. We use a
+ do-while loop to
+ call the PDOStatement::nextRowset method until it
+ returns &false; and terminates the loop when no more rowsets are available.