|
odbc_next_resultChecks if multiple results are available Beschreibung
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. Parameter-Liste
Rückgabewerte
Returns Beispiele
Beispiel #1 odbc_next_result
<?phpDas oben gezeigte Beispiel erzeugt folgende Ausgabe:
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)
|