PHP 手冊
上一頁 |  | 下一頁

# yaz_range

(PHP 4 >= 4.0.1, PHP 5)

yaz_range -- Specifies the maximum number of records to retrieve

## Description

bool yaz_range ( resource id, int start, int number)

This function should be called before either yaz_search() or yaz_present() to specify a range of records to be retrieved. The parameter start specifies the position of the first record to be retrieved and parameter number is the number of records. Records in a result set are numbered 1, 2, ... $hits where $hits is the count returned by yaz_hits().

成功回傳`TRUE`失敗回傳`FALSE`。

上一頁 | 最開頭 | 下一頁
yaz_present | 上一層 | yaz_record