|
odbc_next_resultChecks if multiple results are available Description
bool odbc_next_result
( resource
$result_id
)Checks if there are more result sets available as well as allowing access to the next result set via odbc_fetch_array, odbc_fetch_row, odbc_result, etc. Parameters
Return Values
Returns Examples
Example #1 odbc_next_result
<?php The above example will output: Dump first result set array(1) { ["A"]=> string(1) "A" } bool(false) Get second results set bool(true) Dump second result set array(1) { ["B"]=> string(1) "B" } bool(false) Get third results set bool(true) Dump third result set array(1) { ["C"]=> string(1) "C" } bool(false) Try for a fourth result set bool(false) |