odbc_next_result(PHP 4 >= 4.0.5, PHP 5) odbc_next_result — Checks if multiple results are available Описание
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. Список параметров
Возвращаемые значенияReturns TRUE if there are more result sets, FALSE otherwise. Примеры
Пример #1 odbc_next_result()
<?phpРезультат выполнения данного примера:
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)
|
||